How can I execute a particular job from no. of jobs?

Showing Answers 1 - 24 of 24 Answers

renu

  • Sep 7th, 2006
 

By giving particular step name in job card using restart and put null statement after the end of this step

  Was this answer useful?  Yes

shivu

  • Jan 9th, 2007
 

I think it is not number of jobs.It is number of steps then first answer is correct

  Was this answer useful?  Yes

d.palanivel

  • Jun 20th, 2007
 

Your question is right!

We can give more than one job in job. Once you give submit it will process sequentially.


//JOB1     JOB NOTIFY=&SYSUID......
//JOB2     JOB NOTIFY=&SYSUID.....
//JOB3     JOB NOTIFY=&SYSUID.....
//JOB4     JOB NOTIFY=&SYSUID........
//STEP1   EXEC PGM=ABC

  Was this answer useful?  Yes

ritu

  • Jan 27th, 2012
 

It can be done by iebedit.....

  Was this answer useful?  Yes

prasadmalleboina

  • Feb 19th, 2012
 

I think this question is wrong . Why because one JCL have only one job will be exec so I think this question should be... How to exec a particular step or pgm in JCL?
One job have maximal 255 steps.So exec a particular step or pgm per pus used restart command or cond parameter.

  Was this answer useful?  Yes

sandeep

  • Mar 19th, 2012
 

Q) If there are 10 steps in a jcl program. how to execute 3 and 5 step only by using COND parameter?

  Was this answer useful?  Yes

Hemantha

  • Mar 30th, 2012
 

//jobname job notify=&sysuid,restart=step3
//step1 exec pgm=sort,
//step2 exec pgm=sort
//step3 exec pgm=sort
//setp4 exec pgm=sort,cond=(4,noteq,step3) or cond=(4,gt,step3)
//step5 exec pgm=sort,cond=(0,noteq,step3)
//step6 exec pgm=sort,cond=(0,eq,step5)
//step7
//step8
//step9
//step10

kautuk

  • Nov 21st, 2016
 

It was going to be achieved by IEBEDIT utility program. You can include the step for which you want to run with respect to multiple steps and if you also want to exclude any specific step in the JCL you can do that using Exclude Condition.

IEBEDIT can be executed for any specific step from multiple step.
Similar for Excluded any specific step from from multiple step.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions