Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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 -> Mainframe Application Testing
Author Message
Hari Hara Krishnan N

New User


Joined: 16 Mar 2007
Posts: 6
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
References
PostPosted: Mon Apr 23, 2007 5:45 pm    Post subject: Re: How to Automate Batch job submission Reply with quote

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3081
Location: Charlotte,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: 1485
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: 2565
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: 2913
Location: Brussels once more ...

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Application Testing All times are GMT + 6 Hours
Page 1 of 1