![]() |
Display the status of the current Enter Jobs
STAJ [$userid | jr-id | $user-id . jr-id]
jr-id This option will cause only the status of the specific job that was started under that Job Report ID to be displayed. See the JRID command on page 11-.
If no parameters are specified with the STAJ command, all jobs started under the standard JR-ID (= acct-nr or Job name) will be displayed, or those under a JR-ID whose monitoring had been explicitly activated using the JR command.
In some screen modes (TCHNG READ=U), or with some terminal emulations, it can happen that the screen contents are erased after displaying the STAJ information. This problem can normally be overcome by setting Task Switch 2 (/SETSW ON=2).
Examples:
STAJ
normally displays the status of all Enter jobs started from JRS under the same userid.
STAJ $XYZ
displays the status of all JR Enter jobs started or running under the userid XYZ.
The following information will be displayed for the Enter jobs as a result of the STAJ command:
TSN
Name of the Enter file / DO procedure / library(element)
DO parameter, Enter parameter
elapsed CPU time
Status information: Queue/Run/Term/Abort
Start time: age in days (0/1/...), Start time