The LJS command lists the latest job submission or execution statistics for z/OS Agent jobs.
Type: General command
This command has the following format:
LJS JOB(fullname)
[INDEX]
[DUMP]
Indicates the full name of the job you want to list.
Lists the job index entries. For each indexed job, the following information displays: job number, submission date and time, status, completion code, and execution time.
Lists job records from the job statistics data set in hexadecimal format for diagnosing problems. z/OS Agent ignores DUMP when you use a wildcard in fullname.
When a failed or abended job is resubmitted with the same job name, application name, and application generation number, the index entry in the job statistics data set is reused.
Related Information
For information on the job statistics data set (JOBSTATS), see the DFLTDSN initialization parameter in the Installation and Configuration Guide.
Example: List Job Index Entries
This example shows how to list ten job index entries for job PAYJOB1.
LJS JOB(PAYJOB1) INDEX JOB PAYJOB1, OWNER NONE, 10 JOBS INDEXED JOB27329 ON RDR AT 07.47.38 FRI 28JUL2006, COMPLETED, CC 0, 5.0 MINS_EXEC, 0:0 JOB26227 ON RDR AT 00.47.39 FRI 28JUL2006, COMPLETED, CC 0, 5.6 MINS_EXEC, 0:0 JOB25514 ON RDR AT 17.47.40 THU 27JUL2006, COMPLETED, CC 0, 4.8 MINS_EXEC, 0:0 JOB25071 ON RDR AT 10.47.38 THU 27JUL2006, COMPLETED, CC 0, 4.2 MINS_EXEC, 0:0 JOB24808 ON RDR AT 08.04.39 THU 27JUL2006, COMPLETED, CC 0, 4.8 MINS_EXEC, 0:0 JOB24332 ON RDR AT 03.47.37 THU 27JUL2006, COMPLETED, CC 0, 4.0 MINS_EXEC, 0:0 JOB23453 ON RDR AT 20.47.37 WED 26JUL2006, COMPLETED, CC 0, 3.8 MINS_EXEC, 0:0 JOB23150 ON RDR AT 13.47.36 WED 26JUL2006, COMPLETED, CC 0, 3.6 MINS_EXEC, 0:0 JOB22371 ON RDR AT 06.47.37 WED 26JUL2006, COMPLETED, CC 0, 3.8 MINS_EXEC, 0:0 JOB20491 ON RDR AT 23.47.36 TUE 25JUL2006, COMPLETED, CC 0, 2.6 MINS_EXEC, 0:0
|
Copyright © 2013 CA.
All rights reserved.
|
|