Loading...
Select Version
&pagelevel(3)&pagelevel
Domain: Job information
The RUN-PRIORITY( ) function supplies the priority level of the current job.
The supplied value can then be checked and - if necessary - the priority of the task changed.
Format
RUN-PRIORITY( ) RUN-PRIO( ) |
Result type
INTEGER (<integer 0..255>)
Input parameters
None
Result
Number of type INTEGER, 0 ≤ number ≤ 255
Error message
SDP0435 DESIRED INFORMATION NOT AVAILABLE
Example
/A = RUN-PRIORITY( ) /SHOW-VARIABLE A A = 210
For comparison the field PRI indicates the runtime priority for the job:
/show-job-status %TSN: 29XX TYPE: 3 DIALOG NOW: 2007-04-26.110747 %JOBNAME: BERTA PRI: 0 210 %USERID: USER1 JCLASS: JCDSTD LOGON: 2007-04-26.1053 ......