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

Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL
hariharan_bk
Posts: 73
Joined: Thu Mar 29, 2012 11:13 am
Skillset: COBOL JCL DB2 CICS
Referer: friend

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
Skillset: COBOL JCL DB2 CICS
Referer: friend

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

enrico-sorichetti
Global moderator
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
Referer: www.ibmmainframes.com

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

BillyBoyo
Global moderator
Posts: 3805
Joined: Tue Jan 25, 2011 12:02 am
Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
Referer: Google

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.

hariharan_bk
Posts: 73
Joined: Thu Mar 29, 2012 11:13 am
Skillset: COBOL JCL DB2 CICS
Referer: friend

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


  • Similar Topics
    Replies
    Views
    Last post