MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Submitting a Job from another Job

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
praba.haran
Beginner


Joined: 22 Nov 2006
Posts: 2
Topics: 1
Location: Chennai

PostPosted: Thu Jul 19, 2007 2:51 am    Post subject: Submitting a Job from another Job Reply with quote

hi,

Could you anyone help me on this please?

How to submit a job(say Job AA) from the JCL of the another Job (say Job BB)?
_________________
Regards,
Prabaharan
Back to top
View user's profile Send private message
jajularamesh
Beginner


Joined: 14 Apr 2006
Posts: 87
Topics: 33

PostPosted: Thu Jul 19, 2007 4:05 am    Post subject: Reply with quote

Hi Haran,

we have Internal readers using which a job can be submitted from another job.

Search the forum with the topic Internal readers there are no of examples.

Regards,
Venkata Apparao Jajula
Back to top
View user's profile Send private message
praba.haran
Beginner


Joined: 22 Nov 2006
Posts: 2
Topics: 1
Location: Chennai

PostPosted: Thu Jul 19, 2007 6:03 am    Post subject: Reply with quote

Thank you very much Venkata Apparao Jajula Smile
_________________
Regards,
Prabaharan
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Fri Jul 20, 2007 1:02 am    Post subject: Reply with quote

Here is a simple example of a started task that submits a job.

//DFHSTART PROC START='AUTO'
//***********************************************************
//* START CICS DBP1
//***********************************************************
//GEN EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=0
//SYSIN DD DUMMY
//SYSUT1 DD DSN=your.library.cntl(member),DISP=SHR
//SYSUT2 DD SYSOUT=(C,INTRDR)
//*
Back to top
View user's profile Send private message Visit poster's website
ram prasad
Beginner


Joined: 25 Jul 2007
Posts: 2
Topics: 0
Location: INDIA

PostPosted: Thu Jul 26, 2007 1:19 am    Post subject: Reply with quote

hi,
by internal reader we can submit the 255 jobs with one sub,
here sample eg:
//jobcard
//s1 exec pgm=iebgener
//sysut1 dd dsn=test.a.pds,disp=shr
//sysut2 dd sysout=(*,INTRDR)
//sysprint dd sysout=*
//sysin dd dummy
->sub
_________________
THANKS AND REGARDS
RAM PRASAD



NOTHING IS IMPOSSIBLE
Back to top
View user's profile Send private message
ram prasad
Beginner


Joined: 25 Jul 2007
Posts: 2
Topics: 0
Location: INDIA

PostPosted: Thu Jul 26, 2007 1:20 am    Post subject: Reply with quote

ram prasad wrote:
hi,
by internal reader we can submit the 255 jobs with one sub,
here sample eg:
//jobcard
//s1 exec pgm=iebgener
//sysut1 dd dsn=test.a.ps,disp=shr
//sysut2 dd sysout=(*,INTRDR)
//sysprint dd sysout=*
//sysin dd dummy
->sub

_________________
THANKS AND REGARDS
RAM PRASAD



NOTHING IS IMPOSSIBLE
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group