COMBINE TWO LINES IN THE INPUT TO OUTPUT



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

COMBINE TWO LINES IN THE INPUT TO OUTPUT

Postby Senthilkumar H » Tue Sep 11, 2018 7:11 pm

Hi,

I have INPUT file of LRECL = 134 ,RECFM = FB, and Input is as mentioned below. I want the OUTPUT in LRECL = 134 , RECFM = FB, as mentioned in OUTPUT.

INPUT:
Digital certificate information for user NETB0Y:
  Label: Savings Account
  Certificate ID: 2QbVxePC1ujigaWJlYeiQMGDg5aklaNA
  Status: TRUST
  Start Date: 2010/11/10 00:00:00
  End Date:   2011/11/10 23:59:59
  Serial Number:
    >5D666C20207A6638727A413872D8413B<
  Issuer's Name:
    >OU=BobsBank Savers.O=BobsBank.L=Internet<
  Subject'
s Name:
    >CN=S.S.Smith.OU=Digital ID Class 1 - NetScape.OU=BobsBank Class 1 - S<
    >avingsAcct.O=BobsBank.L=Internet<
    Signing Algorithm: sha256ECDSA
    Key Type: Brainpool ECC        
    Key Size: 192                  
    Private Key: YES              
    Ring Associations:            
    *** No rings associated ***
 


OUTPUT:
Digital certificate information for user NETB0Y:
  Label: Savings Account
  Certificate ID: 2QbVxePC1ujigaWJlYeiQMGDg5aklaNA
  Status: TRUST
  Start Date: 2010/11/10 00:00:00
  End Date:   2011/11/10 23:59:59
  Serial Number:      >5D666C20207A6638727A413872D8413B<   <===
    >5D666C20207A6638727A413872D8413B<   <===
  Issuer's Name:
    >OU=BobsBank Savers.O=BobsBank.L=Internet<
  Subject'
s Name:
    >CN=S.S.Smith.OU=Digital ID Class 1 - NetScape.OU=BobsBank Class 1 - S<
    >avingsAcct.O=BobsBank.L=Internet<
    Signing Algorithm: sha256ECDSA
    Key Type: Brainpool ECC        
    Key Size: 192                  
    Private Key: YES              
    Ring Associations:            
    *** No rings associated ***

Coded - please do it yourself next time
Senthilkumar H
 
Posts: 1
Joined: Tue Sep 11, 2018 6:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: COMBINE TWO LINES IN THE INPUT TO OUTPUT

 

Re: COMBINE TWO LINES IN THE INPUT TO OUTPUT

Postby NicC » Tue Sep 11, 2018 9:58 pm

Please be clearer: do you want the serial number to be moved or copied to the Serial Number: line?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2802
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 115 times


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post