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: 8797
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top