Need to Compare 2 files and select matching/MERGE records



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

Re: Need to Compare 2 files and select matching/MERGE record

Postby BillyBoyo » Wed Jan 15, 2014 2:20 pm

I would drop the DCB infromation from the JCL, SORT will provide that, then it is only in one place for maintenance.,

You can't insert contstants with a REFORMAT statement, If you leave that as it is and then use INREC OVERLAY=(col:,X,col:X) that should do it.

Alternatively you can take out the 5,1 and use INREC BUILD to insert blanks. With lots of data this will be slower that using the OVERLAY.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Re: Need to Compare 2 files and select matching/MERGE record

 

Previous

Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post