View previous topic :: View next topic
|
Author |
Message |
machswap
New User
Joined: 19 Apr 2005 Posts: 14
|
|
|
|
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 |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
shivashunmugam Muthu
Active User
Joined: 22 Jul 2005 Posts: 114 Location: Chennai
|
|
|
|
it wont suibmit one after another...all jobs wud run simultaneously[/list][/code] |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
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 |
|
|
Dariusz Warnings : 1 New User
Joined: 11 Aug 2005 Posts: 27 Location: POLAND
|
|
|
|
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 |
|
|
learner
New User
Joined: 17 Aug 2005 Posts: 4 Location: Chennai
|
|
|
|
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 |
|
|
michaelraj
New User
Joined: 01 Sep 2005 Posts: 43 Location: Bangalore
|
|
|
|
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 |
|
|
|