Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Scheduling more jobs by submitting one Job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Scheduling more jobs by submitting one Job
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: 1452
Location: Chicago, IL

PostPosted: Fri Aug 12, 2005 4:36 pm    Post subject: Re: JCL
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    Post subject:
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    Post subject:
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    Post subject: That is true.
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need input in Scheduling Benchwarmer CA Products 5 Tue Jun 06, 2017 1:44 am
No new posts scheduling between OPC and TWS give u... nsbl IBM Tools 4 Sun Mar 12, 2017 5:35 pm
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
This topic is locked: you cannot edit posts or make replies. ERROR WHILE SUBMITTING LOAD JOB ANURADHA NEELAKANTAN JCL & VSAM 12 Thu Aug 25, 2016 11:50 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us