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

Scheduling more jobs by submitting one Job


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
machswap

New User


Joined: 19 Apr 2005
Posts: 14

PostPosted: Fri Aug 12, 2005 4:10 pm
Reply with quote

Hi,

I need to have a job where i'll have some 10-20 jobs listed in that.
by submitting a single job(which contains all the other jobs) all the other
jobs gets automatically executed one after the other.

Please reply.

Thanks,
machswap
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Fri Aug 12, 2005 4:36 pm
Reply with quote

Hi machswap,

You can enlist all your jobs in a single Member one after one....& SUBMIT.... But I dont think they get submit one after another.....

Well, Check out the link below....for more info'n.....

http://ibmmainframes.com/viewtopic.php?t=2151

Regards,

Priyesh.
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Fri Aug 12, 2005 5:35 pm
Reply with quote

it wont suibmit one after another...all jobs wud run simultaneously[/list][/code]
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Fri Aug 12, 2005 6:34 pm
Reply with quote

I think that you must read all the replay at the post that Priyesh showed you.
If you want to create a little personal scheduler you can use different methods but the easier is submit with a IKJEFT01, at the end of each job, its successor that allow you to condition your execution.

Try to read the sample posted by Priyesh... you will also find other methods!
Back to top
View user's profile Send private message
Dariusz
Warnings : 1

New User


Joined: 11 Aug 2005
Posts: 27
Location: POLAND

PostPosted: Fri Aug 12, 2005 7:14 pm
Reply with quote

You send one meber with very many jobs.
This situation is very like to that:
you've got one job with very many steps.
Many steps in one job is better solution for me.
Why?
For future you will wont to analyze your process,and you've got very many reports instead of one.
Back to top
View user's profile Send private message
learner

New User


Joined: 17 Aug 2005
Posts: 4
Location: Chennai

PostPosted: Wed Aug 17, 2005 12:06 pm
Reply with quote

Hi,


U can get the sequence by submitting the next job using internal reader.
For example; say u have 5 jobs job1 to job5
and it shud be execueted one by one as follows job1,job2,job3,job4,job5

By using internal reader u can make job2 to get submitted at end of job1
and repeat the similar coding in other jobs .u can use simple IEBGENER to make it up
//job1.
..
..
//step1 exec pgm=Iebgener
//systu1 dd dsn=test.job(job2)
//systu2 dd sysout=(a,intrdr)
//sysprint dd sysout=*
//sysin dd dummy


thanx
Prakash
Back to top
View user's profile Send private message
michaelraj

New User


Joined: 01 Sep 2005
Posts: 43
Location: Bangalore

PostPosted: Fri Sep 02, 2005 11:58 am
Reply with quote

Hi machswap,

You can list all jobs one by one in a single Member and submit. Then Jobs will run in the sequential order of their listing order. The jobs are not executed simultaneously. I tried this like I placed two jobs in one member and submitted. As one job will create one file and this file is used as input to other file. And these jobs executed successfully. If they are executed simultaneously it will throw an abend.

Regards,
Mike.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts submitting feedback for manuals All Other Mainframe Topics 3
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
Search our Forums:

Back to Top