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

JCL to submit JOBS in JES2


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

New User


Joined: 10 Jun 2005
Posts: 62

PostPosted: Fri Jun 10, 2005 9:30 pm
Reply with quote

Is anyone has a sample JCL to submit multiple JOBs a the same time in JES2.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Fri Jun 10, 2005 9:32 pm
Reply with quote

You can use IKJEFT01 as you can see in this link.
http://ibmmainframes.com/viewtopic.php?t=2151&highlight=ikjeft01
Tell us if you have any doubt
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Jun 10, 2005 10:42 pm
Reply with quote

You can always create one PDS member with any number of jobs:
Code:

//JOB1 JOB (...),CLASS=X,MSGCLASS=X
//STEP1 EXEC PGM=...
...
//JOB2 JOB (...),CLASS=X,MSGCLASS=X
//STEP1 EXEC PGM=...
...
//JOB3 JOB (...),CLASS=X,MSGCLASS=X
//STEP1 EXEC PGM=...
...


or, copy any number of individual jobs in a single step:

Code:

//SUBJOBS EXEC PGM=ICETOOL
//DFSMSG   DD   SYSOUT=*       
//TOOLMSG  DD   SYSOUT=*       
//TOOLIN   DD *
  COPY FROM(JOB1) TO(INTRDR)
  COPY FROM(JOB2) TO(INTRDR)
  ...
  COPY FROM(JOBn) TO(INTRDR)
//JOB1     DD DISP=SHR,DSN=MY.JCL(JOB1)
//JOB2     DD DISP=SHR,DSN=MY.JCL(JOB2)
...
//JOBn     DD DISP=SHR,DSN=MY.JCL(JOBn)
//INTRDR   DD SYSOUT=(*,INTRDR)
Back to top
View user's profile Send private message
sangiah

New User


Joined: 10 Jun 2005
Posts: 62

PostPosted: Fri Jun 10, 2005 11:30 pm
Reply with quote

thanks all.
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 Finding and researching jobs All Other Mainframe Topics 0
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
Search our Forums:

Back to Top