View previous topic :: View next topic
|
Author |
Message |
csiva007
New User
Joined: 29 Sep 2005 Posts: 10
|
|
|
|
I have one doubt. In a Job how can I submit another Job? |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
Hi csiva007,
To my understanding I think you can include a separate JOB CARD in the existing JCL.
The concept behind this is
Quote: |
Multiple jobs are submitted (as many jobs as the number of JOB cards). |
Hope this helps. |
|
Back to top |
|
|
kiran_kreddy
New User
Joined: 16 Mar 2005 Posts: 4 Location: INDIA
|
|
|
|
cud u please confirm,
we can include the no. of jobcards in one JCL, but the jobs run one by one i.e after completion of one job only second jobs starts run and so on..
it is same as , instead of submitting the 3 JCLs containg the one job card each. submit the one JCl containg the 3 jobcards |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
Hi kiran_kreddy,
What you said is right. Submit one JCL which has three job cards. |
|
Back to top |
|
|
sathish_rathinam
New User
Joined: 22 Aug 2005 Posts: 59 Location: india
|
|
|
|
HI ,
Code: |
//SUBMIT EXEC PGM=IKJEFT01,PARM='',DYNAMNBR=50,
// REGION=4096K
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
PROF PREFIX(USERID)
SUBMIT 'LIB(JOB1)'
SUBMIT 'LIB(JOB2)'
SUBMIT 'LIB(JOB3)'
|
plz use the above code to submit 3 jobs in a single jcl...
regards,
sathish |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
Hi sathish_rathinam,
Thanks for your valuable information. |
|
Back to top |
|
|
aklima
New User
Joined: 25 Nov 2005 Posts: 18 Location: uae
|
|
|
|
have one jcl with one job card withn in this define dd statement i which give dsn and provide a internal reader for that. the internal reader will just read and execute that jcl too.
this is same like when u want to run a jcl via cobol pgm. |
|
Back to top |
|
|
santsuda
New User
Joined: 01 Dec 2005 Posts: 5
|
|
|
|
Hi,
Code: |
//STEP01 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=LIB1(JOB1)
//SYSUT2 DD SYSOUT=(*,INTRDR)
//
|
Please let me know if you were looking for this.
Regards,
Santhosh.S |
|
Back to top |
|
|
i413678 Currently Banned Active User
Joined: 19 Feb 2005 Posts: 112 Location: chennai
|
|
|
|
Hi,
you can use IEBEDIT utility to copy the 3 jcls and put these 3 jcls using this utility into INTRDR........which executes automatically after submitting the original jcl.....
correct me if I am wrong
pavan |
|
Back to top |
|
|
pa1chandak Currently Banned New User
Joined: 31 Jan 2006 Posts: 55
|
|
|
|
yes its right you can submit a job from another job by
1. INTERNAL READER
2. USING IKJEFT01 AND SUBMIT IN THE CONTROL CARD
3. BY CODING DIFFRENT JOB CARDS
IF I AM WRONG SOMEWHERE PLEASE CORRECT ME
THANK YOU
DO SEND ME THE REPLY
PAWAN
09822546416
// THE ONE I LOVE , I SHALL NEVER BLAME // |
|
Back to top |
|
|
|