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
 
PRTY parameter, which job will execute first

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: PRTY parameter, which job will execute first
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: 3158
Location: Tucson AZ

PostPosted: Sun Apr 08, 2007 9:54 pm    Post subject:
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

Site Director


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

PostPosted: Sun Apr 08, 2007 10:15 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 09, 2007 1:04 pm    Post subject:
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    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Mon Apr 09, 2007 3:02 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 09, 2007 3:46 pm    Post subject:
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    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. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm

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