IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

In a Job how can I submit another Job


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
csiva007

New User


Joined: 29 Sep 2005
Posts: 10

PostPosted: Mon Dec 12, 2005 12:12 pm
Reply with quote

I have one doubt. In a Job how can I submit another Job?
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Mon Dec 12, 2005 12:28 pm
Reply with quote

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
View user's profile Send private message
kiran_kreddy

New User


Joined: 16 Mar 2005
Posts: 4
Location: INDIA

PostPosted: Mon Dec 12, 2005 1:48 pm
Reply with quote

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
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Mon Dec 12, 2005 1:57 pm
Reply with quote

Hi kiran_kreddy,

What you said is right. Submit one JCL which has three job cards.
Back to top
View user's profile Send private message
sathish_rathinam

New User


Joined: 22 Aug 2005
Posts: 59
Location: india

PostPosted: Mon Dec 12, 2005 6:22 pm
Reply with quote

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
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Mon Dec 12, 2005 8:19 pm
Reply with quote

Hi sathish_rathinam,

Thanks for your valuable information.
Back to top
View user's profile Send private message
aklima

New User


Joined: 25 Nov 2005
Posts: 18
Location: uae

PostPosted: Mon Dec 12, 2005 9:12 pm
Reply with quote

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
View user's profile Send private message
santsuda

New User


Joined: 01 Dec 2005
Posts: 5

PostPosted: Mon Dec 19, 2005 9:23 am
Reply with quote

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
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Tue Jan 03, 2006 9:25 pm
Reply with quote

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
View user's profile Send private message
pa1chandak
Currently Banned

New User


Joined: 31 Jan 2006
Posts: 55

PostPosted: Thu Feb 02, 2006 10:54 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts How to submit multiple jobs with parm... JCL & VSAM 3
No new posts Submit Print Job For PDS Member With ... TSO/ISPF 17
No new posts Trying to submit COBOL PGM - JCL ERRO... JCL & VSAM 5
No new posts Generate and submit JCL and step dyna... DFSORT/ICETOOL 11
Search our Forums:

Back to Top