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

HOW to randomly execute job steps?


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

New User


Joined: 22 Mar 2005
Posts: 51
Location: chennai

PostPosted: Tue Jul 26, 2005 7:03 pm
Reply with quote

hi guys,


i have one job. On the job contain 10 steps. i want execute these job steps randomly. How can execute? give example jcl.




byee..
naveen
Back to top
View user's profile Send private message
naveensri2005
Currently Banned

New User


Joined: 22 Mar 2005
Posts: 51
Location: chennai

PostPosted: Tue Jul 26, 2005 7:06 pm
Reply with quote

naveensri2005 wrote:
hi guys,


i have one job. On the job contain 10 steps. i want execute these job steps randomly. How can execute? give example jcl.




byee..
naveen
Back to top
View user's profile Send private message
badal

New User


Joined: 05 Sep 2004
Posts: 21

PostPosted: Tue Jul 26, 2005 7:20 pm
Reply with quote

hai,
this type of questions already has been posted. o.k no matter, with the help of IEBEDIT we can executely randomly steps.
if u need further answer then go thru all the questions of this jcl forum u can get the coding too.
thanks.
badal.
Back to top
View user's profile Send private message
Indrajit Banerjee

New User


Joined: 01 Jun 2005
Posts: 5

PostPosted: Wed Jul 27, 2005 1:50 am
Reply with quote

it can be solved by using the following two methods : -
1. in step card u have to mention the dprty=(val1,val2)
priority=16*val1 +val2 according to result value step will be executed higher number higher priority
2. By using IEBEDIT u have to specify the name after sysin dd *
steps (step10 step2.....) in ur prefered manner
during runtime these r executed as mentioned manner
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 420
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Wed Jul 27, 2005 7:07 am
Reply with quote

naveen,

show us your jcl with 10 steps.

by the way

QUESTION POSED ON: 20 DEC 2004
QUESTION ANSWERED BY: Mark Zelden I am not sure what you want to accomplish, but the answer is no. The only way to do something like that would be to wrap a program around the JCL (SAS, REXX, COBOL, etc.) and submit the JCL to the INTRDR.
DPRTY is a very old JCL keyword that was basically ignored anyway depending on the settings in the Installation Control Specification (ICS) in use on the system. The ICS was used prior to WLM Goal Mode (Goal Mode is the only option in z/OS 1.3 and above). However, the DPRTY JCL keyword has been ignored since before OS/390 (I believe DPRTY has been ignored since MVS/ESA SP V5).



Dave
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 420
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Wed Jul 27, 2005 7:23 am
Reply with quote

oops,

Question and Zelden response in full was actually:

Expert Knowledgebase - Sponsored by IBM

Is it possible to execute JCL steps randomly (of our own choice) by using IEBEDIT utility. I heard coding DPRTY in the STEP will serve this purpose. I think DPRTY coded on the step level is just ignored.

QUESTION POSED ON: 20 DEC 2004

QUESTION ANSWERED BY: Mark Zelden I am not sure what you want to accomplish, but the answer is no. The only way to do something like that would be to wrap a program around the JCL (SAS, REXX, COBOL, etc.) and submit the JCL to the INTRDR. DPRTY is a very old JCL keyword that was basically ignored anyway depending on the settings in the Installation Control Specification (ICS) in use on the system. The ICS was used prior to WLM Goal Mode (Goal Mode is the only option in z/OS 1.3 and above). However, the DPRTY JCL keyword has been ignored since before OS/390 (I believe DPRTY has been ignored since MVS/ESA SP V5).

---------------------------

Dave
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 Fetch data from programs execute (dat... DB2 3
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts Cobol program with sequence number ra... COBOL Programming 5
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