Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Execution of the jcl step but in RANDOM Order

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Execution of the jcl step but in RANDOM Order
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

Moderator Team Head


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

PostPosted: Sat Feb 25, 2006 7:20 am    Post subject: Re: Execution of the jcl step but in RANDOM Order
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    Post subject: Re: Execution of the jcl step but in RANDOM Order
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    Post subject: Re: Execution of the jcl step but in RANDOM Order
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    Post subject:
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    Post subject:
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    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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Sorting on text - but in non-alphabet... Roy Ware SYNCSORT 5 Wed Aug 23, 2017 9:15 pm
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us