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

PRTY parameter, which job will execute first


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

New User


Joined: 26 Mar 2007
Posts: 4
Location: chennai

PostPosted: Sun Apr 08, 2007 9:42 pm
Reply with quote

//job1 ... class=k,prty=6
//job2.... class=9,prty=9

which job will execute first?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sun Apr 08, 2007 9:54 pm
Reply with quote

I'd think it kind of depends on the initiators, don't you?
Have you tried the z/OS V1R6.0 MVS JCL Reference and z/OS V1R6.0 MVS JCL User's Guide which have links on the IBMMAINFRAMES.com - Online IBM? Reference Manuals page?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Apr 08, 2007 10:15 pm
Reply with quote

Hello,

A lot will depend on your system configuation. If there are both a initiator that will run class=k and an initiator that will run class=9, te jobs will both start as soon as they are entered.

If there is a k initiator open and no 9 initiator open, the k will run regardless of the part.

As Bill recomends, you will learn more from the Fine Manuals.
Back to top
View user's profile Send private message
satyabrat jena

New User


Joined: 06 Apr 2007
Posts: 3
Location: BANGALORE

PostPosted: Mon Apr 09, 2007 9:20 am
Reply with quote

hi.
job2 will run first.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Apr 09, 2007 1:04 pm
Reply with quote

Quote:
job2 will run first.

Why ?
Back to top
View user's profile Send private message
vkphani

New User


Joined: 29 Oct 2003
Posts: 29

PostPosted: Mon Apr 09, 2007 2:57 pm
Reply with quote

RUnning a job is dependant on CLASS first and then PRTY. If K is used for Production jobs and 9 for development jobs then job with CLASS as K runs first.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Apr 09, 2007 3:02 pm
Reply with quote

Phani,

Quote:
If K is used for Production jobs and 9 for development jobs then job with CLASS as K runs first.


What if the both the classes (K & 9) are production classes?
Back to top
View user's profile Send private message
vkphani

New User


Joined: 29 Oct 2003
Posts: 29

PostPosted: Mon Apr 09, 2007 3:19 pm
Reply with quote

Quote:
What if the both the classes (K & 9) are production classes?


Murali,

In that case, PRTY comes into picture.
The priority is a number from 0 through 15 for JES2 and from 0 through 14 for JES3. The highest
priority is 15 or 14. Job with a high PRTY # is executed first.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Apr 09, 2007 3:46 pm
Reply with quote

PRTY will come into play only if both jobs have the same excution class. In this case they do NOT.

Please read carefully what Dick has written above, because that is the correct answer. Also not his point regarding manuals - the best place to start for ANY questions.
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 Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Fetch data from programs execute (dat... DB2 3
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
No new posts Demand with DEADLINE TIME parameter CA Products 4
Search our Forums:

Back to Top