Complex JCL - please help

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
varad.raikar
Member
Posts: 6
Joined: Tue Oct 06, 2015 12:13 pm

Complex JCL - please help

Post by varad.raikar » Wed Nov 04, 2015 11:32 pm

If suppose i have a file with data as shown below.

input File data:
key1 data1 data2
key1 data3 data4

I need output as shown below

output file data :
key1 data1 data2 data3 data4

Is there any JCL which can get me this output?

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Thu Nov 05, 2015 12:21 pm

No, JCL just arranges stuff that jobsteps need.

What are the LRECL and RECFM of your input and output files? Maximum number of records per key?

academyindia4

Topic deleted by Admin

Post by academyindia4 » Tue Jan 19, 2016 7:14 pm

<< Content deleted By Admin >>

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