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

How to Automate Batch job submission


IBM Mainframe Forums -> Testing & Performance
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Mon Apr 23, 2007 5:49 pm
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: 1436
Location: Bangalore,India

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

Hari,

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

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Mon Apr 23, 2007 5:50 pm
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: 8796
Location: Welsh Wales

PostPosted: Mon Apr 23, 2007 6:00 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Testing & Performance

 


Similar Topics
Topic Forum Replies
No new posts MacKinney Batch to CICS upgrade causi... CICS 7
No new posts Run rexx in batch job CLIST & REXX 7
No new posts Excuting store procedure via JCL batch JCL & VSAM 1
No new posts SORT on detail record, then repeat he... DFSORT/ICETOOL 3
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
Search our Forums:

Back to Top