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: 287
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
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
No new posts how to split records based on specifi... Venkata Ramayya DFSORT/ICETOOL 6 Wed Sep 28, 2016 3:20 am
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm
No new posts execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am


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