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
 

 

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: 4648
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 JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts How to download JES2 JOB LOG? White.Bai JCL & VSAM 9 Thu Sep 29, 2016 7:34 am
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
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 Predicting jobs which are about to re... kpanchabhai85 DFSORT/ICETOOL 4 Thu Jun 30, 2016 7:51 pm


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