View previous topic :: View next topic
|
Author |
Message |
madishetty
New User
Joined: 04 Sep 2006 Posts: 1 Location: hyderabad
|
|
|
|
Hi all,
Could anyone please tell me as to how to submit multiple jobs(which are in a single PDS) thru a single job?
Regards,
Pavan |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Are the jobs in different members in the pds or all in one member?
Either may be handled by running an IEBGENER that copies the selected member(s) to the internal reader. |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Please do a search of the forum, there are many post regarding this subject. If you cannot find the posts, or they do not satify your questions, please come back.
Thanks, |
|
Back to top |
|
|
jz1b0c
Active User
Joined: 25 Jan 2004 Posts: 160 Location: Toronto, Canada
|
|
|
|
JUST PASS THE PARAMETERS
JCLLIB, JCL1 AND JCL1
//*
//SUBMIT1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=&JCLLIB1(&JCL1),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD DUMMY
//*
//SUBMIT2 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=&JCLLIB2(&JCL2),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD DUMMY
// |
|
Back to top |
|
|
jinal_mca
New User
Joined: 05 Jan 2007 Posts: 22 Location: Pune, India
|
|
|
|
Still the answer is not clear plz even i have doubt in the same question..
plz explain it again with more example.
c ya |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
What Masade posted
Code: |
//SUBMIT2 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=&JCLLIB2(&JCL2),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD DUMMY
|
is exactly what you need. It is a complete example. All you have to do is change the &JCLLIB2 to the name of the library that contains the job you want to submit and change &JCL2 to the name of the JCL member you want to submit.
There are 2 sets (1&2) because you said your requirement was to submit 2 jobs. The example given allows these to be placed in a PROC and resolved at runtime by substituting symbolic parameters. If you hard-code the library name(s) and member name(s) you will not be able to symbolically replace at run-time. |
|
Back to top |
|
|
Patrick Bacelar
New User
Joined: 05 Sep 2022 Posts: 15 Location: Brazil
|
|
|
|
Is it possible to add and override certain parameters in the job card for the submitted jobs? If so, how can we do it? |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1338 Location: Bamberg, Germany
|
|
|
|
Patrick Bacelar wrote: |
Is it possible to add and override certain parameters in the job card for the submitted jobs? If so, how can we do it? |
Please start a new topic for your requirement. |
|
Back to top |
|
|
|