Page 2 of 2

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

PostPosted: Fri May 16, 2014 1:27 am
by hariharan_bk
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.

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

PostPosted: Fri May 16, 2014 1:34 am
by hariharan_bk
Thanks in advance. Much appreciated..

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

PostPosted: Fri May 16, 2014 1:44 am
by enrico-sorichetti
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.

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

PostPosted: Fri May 16, 2014 3:42 am
by BillyBoyo
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.

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

PostPosted: Thu Aug 28, 2014 5:17 pm
by hariharan_bk
Thanks All.. It helped a lot.
Apologies for late reply