To merge 2 records (FB,VB) into 1 record (VB)



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

Re: To merge 2 records (FB,VB) into 1 record (VB)

Postby hariharan_bk » Fri May 16, 2014 1:27 am

Thanks Enrico. Will try this in the morning.

One small query. Has this JCL been built considering one of the inp file as VB file right ? Also the output merge record shld be a VB record. It looks challenging to handle VB file in my case.
Many Thanks,
Harry
hariharan_bk
 
Posts: 73
Joined: Thu Mar 29, 2012 11:13 am
Has thanked: 5 times
Been thanked: 0 time

Re: To merge 2 records (FB,VB) into 1 record (VB)

Postby hariharan_bk » Fri May 16, 2014 1:34 am

Thanks in advance. Much appreciated..
Many Thanks,
Harry
hariharan_bk
 
Posts: 73
Joined: Thu Mar 29, 2012 11:13 am
Has thanked: 5 times
Been thanked: 0 time

Re: To merge 2 records (FB,VB) into 1 record (VB)

Postby enrico-sorichetti » Fri May 16, 2014 1:44 am

the format of the file being overlaid is pretty irrelevant for a copy operation,
this might not be the case, but You should take into account the presence of short records
the overlay might fail.
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: To merge 2 records (FB,VB) into 1 record (VB)

Postby BillyBoyo » Fri May 16, 2014 3:42 am

As long as there is no attempt to overwrite the first four bytes of the record, where the RDW lives, is is nothing special about an OVERLAY with regards to variable-length records.

The other two-step solution is to generate a symbol from your fixed-length record, and just use the generated symbol in the second step.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: To merge 2 records (FB,VB) into 1 record (VB)

Postby hariharan_bk » Thu Aug 28, 2014 5:17 pm

Thanks All.. It helped a lot.
Apologies for late reply
Many Thanks,
Harry
hariharan_bk
 
Posts: 73
Joined: Thu Mar 29, 2012 11:13 am
Has thanked: 5 times
Been thanked: 0 time

Previous

Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post