View previous topic :: View next topic
|
Author |
Message |
Hari Hara Krishnan N
New User
Joined: 16 Mar 2007 Posts: 5 Location: Chennai
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Hari,
Use IKJEFT01 utility. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
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 |
|
|
|