Adding 5 files

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
padair
Member
Posts: 11
Joined: Wed May 13, 2009 1:02 pm

Adding 5 files

Post by padair » Mon May 25, 2009 5:59 pm

This there,
I have five comma separated file that I would like to add to each other.

Each file start with a numberic + and Identifying Key.

File 1
File 2
File 3
File 4
File 5

Is there any way I merge all of the files to have one record per key.

File 1, File 2,File 3, File 4, File 5

Any help is appreciated.
Thanks,
Padair

maheshvamsi
Active Member
Posts: 52
Joined: Wed Mar 25, 2009 11:56 pm
Location: Banglore

Post by maheshvamsi » Tue May 26, 2009 7:44 am

Hi,

please post sample input & output & also record length of input & ouput files. With this information only someone can help you.
Thanks

MaheshVamsi

Alissa Margulies
Member
Posts: 25
Joined: Tue Apr 28, 2009 10:53 pm
Location: USA
Contact:

Post by Alissa Margulies » Tue May 26, 2009 7:34 pm

Hello Padair,

In addition to the RECFM and LRECL of each file, please also identify the starting position, length and format of the identifying key.

Regards,
Alissa Margulies
SyncSort Mainframe Product Services
zos_tech@syncsort.com
201-930-8260

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others