Page 1 of 1

Executing the steps in a Job without using IEBEDIT

PostPosted: Fri Apr 08, 2011 2:30 am
by michelmadhan
Hi,
I want to execute steps in a job like alternatively without using IEBEDIT utility.
For example,
I have 6 steps in a Job. I want to execute the steps such that step2,step4 and step6 only.
If it is possible How ? Can I use COND or IF/THEN/ELSE statement ?
I have some idea to execute the steps like that,
//job1 JOB ------------------,RESTART=step2
//step1 exec pgm=IEFBR14
//step2 exec pgm=IEFBR14
//step3 exec pgm=IEFBR14,COND=(0,LT)
//step4 exec pgm=IEFBR14, COND=ONLY
//step5 exec pgm=IEFBR14,COND=(0,LT)
//step6 exec pgm=IEFBR14, COND=ONLY

If it is wrong please correct me and also please give me answer for the above questions.

Re: Executing the steps in a Job without using IEBEDIT

PostPosted: Fri Apr 08, 2011 10:35 am
by NicC
What happened when you tried that? If you did it before posting you would have known by now whether it was right or wrong.

Re: Executing the steps in a Job without using IEBEDIT

PostPosted: Tue Apr 12, 2011 9:21 pm
by Anuj Dhawan
One way can be - open the Job in view mode and delete the steps you don't want -- and SUBmit.