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
 

 

How to Automate Batch job submission

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Testing & Performance analysis
View previous topic :: :: View next topic  
Author Message
Hari Hara Krishnan N

New User


Joined: 16 Mar 2007
Posts: 5
Location: Chennai

PostPosted: Mon Apr 23, 2007 5:45 pm    Post subject: How to Automate Batch job submission
Reply with quote

There is a need to submit many jobs, but how to automate it such that there is no need to submit each job manually. Instead is there any way to automate the job submission(excluding the option of Scheduler).
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: Mon Apr 23, 2007 5:49 pm    Post subject: Re: How to Automate Batch job submission
Reply with quote

Review this post, and then, if you want, contact the poster via Private Message.

rohitcognizant claims to have come up with a solution for your problem.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Apr 23, 2007 5:49 pm    Post subject:
Reply with quote

Hari,

Use IKJEFT01 utility.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Mon Apr 23, 2007 5:50 pm    Post subject: Re: How to Automate Batch job submission
Reply with quote

Sounds like an homework question...

if Your organization has a scheduler for what reason You refuse to use it' s services...
>>> it' s there
>>> it' s reliable
>>> provides everything You need
>>> You do not have to spend time developing scheduler clone
>>> many other reasons ( use Your fantasy )

regards
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 23, 2007 6:00 pm    Post subject:
Reply with quote

Why not the scheduler, if the application that you are testing may require schedule changes to the production schedule, then what better place to test any schedule changes that may be required.

If you must do it this way, one of the ways that it was done in the dark ages before commercial scheduling packages were available, was to set up a proc with IEBGENER using a symbolic in SYSUT1 to do this. Placed at the end of each job, as a job ends it will submit the next job in the schedule.

As I'm in a good mood, here's some sample code.
Code:

//SUBPROC  PROC JOB=
//***
//SUBMIT   EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1   DD DSN=jcl source lib(&JOB),DISP=SHR
//SYSUT2   DD SYSOUT=(*,INTRDR)
//SYSIN    DD DUMMY
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 -> Testing & Performance analysis All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm
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


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