My requirement is to concatenate 3 files
F1 - 80 FB
F2 - 133 VB
F3 - 80 VB
in to a new file ..
How can it be done using IEBGENER ?
What should be the attributes of OUTPUT file ?
I tries giving 137 -VB to output file it's giving RC=12 using IEBGENER .
Can anybody explain more or suggest another way to do these things.
Joined: 14 Mar 2007 Posts: 8593 Location: Back in jolly old England
Your SORT product would be able to do this. Obviously as DFSORT / SYNCSORT / CA-SORT are all different products from different vendors the basics will be the same, however the syntax may differ in some aspects.
The output file should be OK with LRECL=133, the longest of the files being concatenated.
Sort products do not support concatenation of mixed FB and VB input data sets. You would have to convert the FB file to a VB file or the VB files to FB files in order to concatenate them. You could do the conversion with DFSORT's FTOV or VTOF functions.