IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Concatenate 3 files using IEBGENER


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prafull

New User


Joined: 08 Dec 2006
Posts: 48

PostPosted: Wed May 02, 2007 5:36 pm
Reply with quote

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.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Wed May 02, 2007 5:42 pm
Reply with quote

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.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Wed May 02, 2007 8:56 pm
Reply with quote

Quote:
Your SORT product would be able to do this.


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.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Joining files with intermittent heade... SYNCSORT 1
No new posts INPFIL FILES, FNAMES examples SYNCSORT 7
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts JCL to merge two files side by side DFSORT/ICETOOL 3
No new posts Create a specific record/file based o... SYNCSORT 8
Search our Forums:


Back to Top