Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

EXECUTE SOME SPECIFIC STEPS IN A JOB CARD...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: EXECUTE SOME SPECIFIC STEPS IN A JOB CARD...
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: 464

PostPosted: Mon Mar 13, 2006 4:01 pm    Post subject: Re: EXECUTE SOME SPECIFIC STEPS IN A JOB CARD...
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Route a product's job to specific lpar vasanthz All Other Mainframe Topics 9 Thu Mar 02, 2017 2:22 am
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Sort Card to Remove Duplicate records... raj4neo SYNCSORT 2 Wed Jan 25, 2017 4:44 am
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us