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

Execution of the jcl step but in RANDOM Order


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

New User


Joined: 25 Feb 2006
Posts: 27
Location: Pune

PostPosted: Sat Feb 25, 2006 5:00 am
Reply with quote

Hi Friends,
I have a doubt.

How do I use the RESTART parameter to execute a job with 10 steps, of which I need to execute step1 then execute step9, without executing the steps in-between .
Suppose i have 10 steps in my jcl STEP1, STEP2........STEP10 now i want to execute only STEP1, STEP5, STEP8, STEP9, STEP10. is there any chance to execute without COND parameter, we had IF cond but it makes the jcl some what complex
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Sat Feb 25, 2006 7:20 am
Reply with quote

Please search first. This question has been asked many times before.

See this post.
Back to top
View user's profile Send private message
pbgunasekar

New User


Joined: 28 May 2005
Posts: 26
Location: Chennai

PostPosted: Mon Feb 27, 2006 1:45 pm
Reply with quote

hi,
better you copy all the steps you need to execute in the other member and run.
Back to top
View user's profile Send private message
KS

New User


Joined: 28 Feb 2006
Posts: 91
Location: Chennai

PostPosted: Wed Mar 01, 2006 2:45 pm
Reply with quote

Hi,


You can use Restart parameter if you need to start executing from certain steps and can bypass the needed steps using COND parameter.


Thanks,
KS
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Wed Mar 01, 2006 7:10 pm
Reply with quote

Hi,

you can use DPRTY parameter for each and every step in which order you want to execute the steps.......

DPRTY=(val1,val2) the value will be calculated as
val1+val2*15

based on the value in ascending order the corresponding steps are executed....

correct me if I am wrong................

cheers.......................

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

Active User


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

PostPosted: Thu Mar 02, 2006 2:57 pm
Reply with quote

simply delete all the steps not needed and rerun the job.
if you want to control the job's flow with IF-ENDIF,
i don't see why it should be more complex as COND.
at least it is not the reverse wired logic of the COND,
which it makes more complex, more useful is IF-ENDIF,
because of it's positive condition phrase.
don't try harder... icon_smile.gif

martin9

tip: make it as simple as possible
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 Generate random number from range of ... COBOL Programming 3
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Rotate partition-logical & physic... DB2 0
No new posts Random read in ESDS file by using RBA JCL & VSAM 6
Search our Forums:

Back to Top