IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

EXECUTE SOME SPECIFIC STEPS IN A JOB CARD...


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
babun

New User


Joined: 03 Aug 2005
Posts: 9
Location: bangalore

PostPosted: Mon Mar 13, 2006 3:34 pm
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
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Mon Mar 13, 2006 4:01 pm
Reply with quote

HI Babun

This topic already discussed so may times

http://www.ibmmainframes.com/viewtopic.php?t=1253

Hope thsi helps

Regards
Rupesh
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Mon Mar 13, 2006 4:32 pm
Reply with quote

hy babun,

be smart,
make a new job with the steps you need.

anyway what you mean with SET LASTCC=0
this is only a idcams command to influence the
result of an idcams step.

martin9
Back to top
View user's profile Send private message
martijn

New User


Joined: 09 Mar 2006
Posts: 14
Location: The Netherlands

PostPosted: Mon Mar 13, 2006 6:15 pm
Reply with quote

I don't think there's a way to select the steps to be run on the job-card.
If for a specific run you only want to run certain steps, it may be easiest to mark the steps you don't want to run! You can do this by adding COND=(0,LE) to the EXEC-card of these steps.
N.B.: With the COND-parameter, a step is not executed if the condition is TRUE. As 0 is always less or equal to the return-code, this condition is always true, and the step NOT executed. So; add COND=(0,le) to the steps you don't want to run, and only the remaining step will be run.
Hope this helps...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Fetch data from programs execute (dat... DB2 3
No new posts CA7 deleting files in steps after job... CA Products 4
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
Search our Forums:

Back to Top