MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

want to execute particular steps in a job....

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
babun
Beginner


Joined: 03 Aug 2005
Posts: 19
Topics: 9
Location: bangalore

PostPosted: Mon Mar 13, 2006 5:02 am    Post subject: want to execute particular steps in a job.... Reply with quote

HI folks
I have some 10 steps ,but i want to exexute only 2nd step and 4 th step and 7th step,,so in this scenario what mgiht be the solution ,,is it only way like SET LASTCC=0 OR DO WE HAVE ANY OTHER ORION FOR THIS?
PLS LET ME KNOW U R VIEWS ON THIS.....
THANKS IN ADVANCE
_________________
babu
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Ravi
Beginner


Joined: 27 Jun 2005
Posts: 88
Topics: 2

PostPosted: Mon Mar 13, 2006 5:14 am    Post subject: Reply with quote

If its a one time run or its constant, then delete the unwanted steps and run the job.
If you want to use COND parameter of IF conditions, the we need to consider the return codes of each step. Based on that we can give COND parameters.

The below code is under the assumption that STEP1, 3 will return ONLY zeros
Code:
//STEP1    EXEC PGM=IEFBR14                 
//INDD     DD DUMMY                         
//*                                         
//STEP2    EXEC PGM=IEFBR14,COND=(0,EQ)     
//INDD     DD DUMMY                         
//*                                         
//STEP3    EXEC PGM=IEFBR14                 
//INDD     DD DUMMY                         
//*                                         
//STEP4    EXEC PGM=IEFBR14,COND=(0,EQ)     
//INDD     DD DUMMY                         
Quote:

is it only way like SET LASTCC=0
Can you please explain this? Arrow How do you achive thru resetting LASTCC=0.
Back to top
View user's profile Send private message
Jaya
Beginner


Joined: 02 Sep 2005
Posts: 77
Topics: 10
Location: Cincinnati

PostPosted: Mon Mar 13, 2006 5:57 am    Post subject: Reply with quote

Babun,
Please search for IEBEDIT in JCL forum like this one and go through those links.

http://mvsforums.com/helpboards/viewtopic.php?t=5796&highlight=iebedit

Thanks,
Jaya.
_________________
"Great spirits have always encountered violent opposition from mediocre minds."
-Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group