Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

In a Job how can I submit another Job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: In a Job how can I submit another Job
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: 413
Location: Colarado, US

PostPosted: Mon Dec 12, 2005 12:28 pm    Post subject: Re: Urgent dount help me
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    Post subject: hi iknow
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: 413
Location: Colarado, US

PostPosted: Mon Dec 12, 2005 1:57 pm    Post subject: Re: Urgent dount help me
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    Post subject: Re: In a Job how can I submit another Job
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: 413
Location: Colarado, US

PostPosted: Mon Dec 12, 2005 8:19 pm    Post subject: Re: In a Job how can I submit another Job
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    Post subject: can this work
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    Post subject: Re: In a Job how can I submit another Job
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm
No new posts Submit JCLs in one go zh_lad JCL & VSAM 6 Fri Jul 03, 2015 2:57 pm
No new posts Submit a Job through Rexx janmejay CLIST & REXX 10 Wed Jul 30, 2014 6:16 pm
No new posts Pass the value from panel to prog to ... jackzhang75 TSO/ISPF 1 Wed Jul 02, 2014 8:59 pm
No new posts submit job on another LPAR vikramyadav JCL & VSAM 7 Tue Jun 24, 2014 9:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us