Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
JCL to submit JOBS in JES2

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: JCL to submit JOBS in JES2
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    Post subject:
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

Moderator Team Head


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

PostPosted: Fri Jun 10, 2005 10:42 pm    Post subject: Re: JCL to submit JOBS in JES2
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    Post subject:
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    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 List of jobs ran thru scheduler ddhar All Other Mainframe Topics 1 Tue Mar 27, 2018 4:32 am
No new posts Using multiple routines at exit 6 in ... Randy Horowitz All Other Mainframe Topics 2 Sat Feb 10, 2018 11:57 pm
No new posts JES2 EXIT 6 QUESTION Randy Horowitz All Other Mainframe Topics 30 Tue Feb 06, 2018 5:47 pm
No new posts How to get the output from submit com... Joanna2016 CLIST & REXX 10 Tue Feb 06, 2018 7:26 am
No new posts Submit a job/script from webpage vasanthz All Other Mainframe Topics 6 Thu Feb 01, 2018 4:10 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us