| IBM MAINFRAME HELP FORUMS for COBOL, JCL, CICS, DB2, IMS etc... Help & Support Forums for IBM Mainframe computers Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7, CA-11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, VSAM, ISPF, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
Hari Hara Krishnan N
Joined: 16 Mar 2007
Posts: 6
Location: Chennai
|
| Posted: Mon Apr 23, 2007 5:45 pm Post subject: How to Automate Batch job submission |
|
|
| 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
Joined: 26 Apr 2004
Posts: 3102
Location: Charlotte,NC USA
|
| Posted: Mon Apr 23, 2007 5:49 pm Post subject: Re: How to Automate Batch job submission |
|
|
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
Joined: 29 Jun 2006
Posts: 1482
Location: Bangalore,India
|
| Posted: Mon Apr 23, 2007 5:49 pm Post subject: |
|
|
Hari,
Use IKJEFT01 utility. |
|
| Back to top |
|
enrico-sorichetti
Joined: 14 Mar 2007
Posts: 2563
Location: italy
|
| Posted: Mon Apr 23, 2007 5:50 pm Post subject: Re: How to Automate Batch job submission |
|
|
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
Joined: 14 Mar 2007
Posts: 2974
Location: Brussels once more ...
|
| Posted: Mon Apr 23, 2007 6:00 pm Post subject: |
|
|
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 |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|