how to merge two or more jcl jobs into one job

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
bhargavi_ns
Member
Posts: 18
Joined: Wed Sep 21, 2011 9:47 am

how to merge two or more jcl jobs into one job

Post by bhargavi_ns » Thu Sep 22, 2011 3:44 pm

i have 5 different jobs(JCLs) in 5 different ds .
i want to know the syntax and job how to merge them into one job .
so that on submitting that one merged job i should be able to run all the above 5 different jobs.

Please adivse?

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Fri Sep 23, 2011 12:28 am

Simply copy all of them into a new dataset (using the tso/ispf editor or in a batch job) and submit that dataset. . .

I suspect you don't really mean MERGE which has a rather specific meaning when talking about data/files.
Have a good one

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Sun Sep 25, 2011 4:06 pm

Terminology is critical in IT where similar terms can mean different things, as Dick has also indicated. Suggest you learn what exactly "merge" means.

I've two inferences from what you say:

1. You want to have a single Job in place of all the other jobs? In doing so, as Dick has suggested, you'd copy all of them into a new dataset (using the tso/ispf editor or in a batch job) and then SUBmit it. Of course, you'll keep only one Job card in the final Job

2. Second, you want to SUBmit them one after another. If so, possibly INTRDR is what you are looking for.

If these are not among your choice, explain again about what you want.
Regards,
Anuj

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