To list tracked job summaries that are stored on the job index data set (JOBINDEX), use the LTJ command.
Type: General command
This command has the following format:
LTJ jobname
[PREFIX]
[OWNER(ownerid)]
[MODEL(modelname)]
[INDEX]
[DUMP]
Specifies the name of the job or jobs to be listed. You can use masking.
List the tracking parameters the DEFTJ command and its PREFIX operand defines, for jobs starting with jobname. The list does not include tracking parameters that are defined in the job tracking definition table.
List only jobs with ownership strings equal to the specified ownership string. You can use masking. The list does not include job summaries for jobs that are defined in the job tracking definition table.
List only jobs having a matching tracking model name. You can use masking.
List the job index data set entries for the job. For each indexed job, the list includes job number, submission date and time, the status, and completion code.
The DEFTM INDEX initialization parameter or the DEFTJ indexcount command limits the number of index entries in the list. Sometimes, the number of entries that the LTJ command displays exceeds the specified limit. Exceeding the specified limit can happen when older job entries are not complete before a new job entry is added. After a job associated with the older entry has completed, and when a new job entry is added, the oldest entry among the completed jobs is removed.
List the job records from the job index data set in hexadecimal format for diagnosing problems. DUMP is ignored when masking is used in jobname.
Note: The LTJ command lists the tracking characteristics of a job, as defined in the job tracking definition table or through the DEFTJ command, rather than the tracking data on a particular submission of a job.
Related Information
For information on displaying the status of a job that z/OS Agent is tracking, see the LJ Command.
Example: List the Job Status
This example shows how to list the tracking status of PAYJOB1.
LTJ PAYJOB1
Example: Use Specific Tracking Models
This example shows how to list all jobs using tracking models with names beginning with PROD.
LTJ - MODEL(PROD-)
Example: List the Job Index Information
This example shows how to list the job index information for job PAYJOB1.
LTJ PAYJOB1 INDEX JOB PAYJOB1, MODEL MODEL1, OWNER NONE, 10 JOBS INDEXED, 10 MAX JOB08720 ON RDR AT 20.00 THU 29JAN98, ENDED, CC 0, 0.0 MINS_EXEC, 0:00 CPU JOB08719 ON RDR AT 20.00 THU 29JAN98, ENDED, CC 0, 0.0 MINS_EXEC, 0:00 CPU JOB08717 ON RDR AT 20.00 THU 29JAN98, ENDED, CC 0, 0.0 MINS_EXEC, 0:00 CPU JOB08673 ON RDR AT 18.00 THU 29JAN98, ENDED, CC 0, 0.0 MINS_EXEC, 0:00 CPU JOB08630 ON RDR AT 16.01 THU 29JAN98, ENDED, CC S806, 0.0 MINS_EXEC, 0:00 CPU JOB08474 ON RDR AT 08.00 THU 29JAN98, ENDED, CC 0, 0.0 MINS_EXEC, 0:00 CPU JOB08414 ON RDR AT 20.00 WED 28JAN98, ENDED, CC 0, 0.0 MINS_EXEC, 0:00 CPU JOB08408 ON RDR AT 20.00 WED 28JAN98, ENDED, CC 0, 0.0 MINS_EXEC, 0:00 CPU JOB08365 ON RDR AT 18.00 WED 28JAN98, ENDED, CC 0, 0.0 MINS_EXEC, 0:00 CPU JOB08364 ON RDR AT 18.00 WED 28JAN98, ENDED, CC 0, 0.0 MINS_EXEC, 0:00 CPU
|
Copyright © 2013 CA.
All rights reserved.
|
|