Executing the steps in a Job without using IEBEDIT



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Executing the steps in a Job without using IEBEDIT

Postby michelmadhan » Fri Apr 08, 2011 2:30 am

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.
michelmadhan
 
Posts: 5
Joined: Wed Mar 30, 2011 1:04 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Executing the steps in a Job without using IEBEDIT

 

Re: Executing the steps in a Job without using IEBEDIT

Postby NicC » Fri Apr 08, 2011 10:35 am

What happened when you tried that? If you did it before posting you would have known by now whether it was right or wrong.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: Executing the steps in a Job without using IEBEDIT

Postby Anuj Dhawan » Tue Apr 12, 2011 9:21 pm

One way can be - open the Job in view mode and delete the steps you don't want -- and SUBmit.
Anuj
Anuj Dhawan
 
Posts: 274
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post