Precheck Job Parameters

Follow

Precheck Jobs that are parsed have these predefined parameters available:  

They can be parsed within a Notification Job using <<>> (Double angle brackets), to provide additional information about the job it is assigned to.

These parameters are available to be parsed in Powershell:

JAMS_PRECHECK_ENTRY
The entry number of the Job which this Job is doing the checking for.
JAMS_PRECHECK_COUNT
The number of times that the Precheck Job has run for this entry.

For a listing of additional Powershell parameters that can be used see this support article:

Precheck Job Exit Handling Methods for Powershell

 

The following are used for OpenVMS only:

JAMS_TRYAGAIN
The integer value of the status JAMS_TRYAGAIN.
JAMS_SCANCELJOB
The integer value of the status JAMS_ SCANCELJOB.
JAMS_ICANCELJOB
The integer value of the status JAMS_ ICANCELJOB.
JAMS_WCANCELJOB
The integer value of the status JAMS_ WCANCELJOB.
JAMS_ECANCELJOB
The integer value of the status JAMS_ ECANCELJOB.
JAMS_FCANCELJOB
The integer value of the status JAMS_ FCANCELJOB.
JAMS_CANCELJOB
The integer value of the status JAMS_ CANCELJOB. This status is also an E level status and is included for backwards compatibility.

 

Have more questions? Submit a request

Comments

  • Avatar
    Daniel St. Jean

    I have found it useful to find the originating job's entry number and job name using PowerShell for the Precheck job.

    $jobName = (Get-JAMSEntry <<JAMS_PRECHECK_ENTRY>>).Name
    $entry = (Get-JAMSEntry <<JAMS_PRECHECK_ENTRY>>).JAMSEntry
    write-host $jobName
    write-host $entry

    Edited by Daniel St. Jean