View previous topic :: View next topic |
Author |
Message |
praba.haran Beginner
Joined: 22 Nov 2006 Posts: 2 Topics: 1 Location: Chennai
|
Posted: Thu Jul 19, 2007 2:51 am Post subject: Submitting a Job from another Job |
|
|
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 |
|
|
jajularamesh Beginner
Joined: 14 Apr 2006 Posts: 87 Topics: 33
|
Posted: Thu Jul 19, 2007 4:05 am Post subject: |
|
|
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 |
|
|
praba.haran Beginner
Joined: 22 Nov 2006 Posts: 2 Topics: 1 Location: Chennai
|
Posted: Thu Jul 19, 2007 6:03 am Post subject: |
|
|
Thank you very much Venkata Apparao Jajula _________________ Regards,
Prabaharan |
|
Back to top |
|
|
warp5 Intermediate
Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Fri Jul 20, 2007 1:02 am Post subject: |
|
|
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 |
|
|
ram prasad Beginner
Joined: 25 Jul 2007 Posts: 2 Topics: 0 Location: INDIA
|
Posted: Thu Jul 26, 2007 1:19 am Post subject: |
|
|
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 |
|
|
ram prasad Beginner
Joined: 25 Jul 2007 Posts: 2 Topics: 0 Location: INDIA
|
Posted: Thu Jul 26, 2007 1:20 am Post subject: |
|
|
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 |
|
|
|
|