The CA7 LJOBR command lists computer resource requirement information about jobs. It lists resource information about any job in the database and it can also be used to determine all jobs that have specific resource requirements or ranges of requirements.
Resource parameters can be specified in any combination to obtain the selected information. This makes the command very useful in analyzing profiles of the CA Workload Automation SE workload.
LJOBR uses the same selection keywords and values as the LJOB command and it has no LIST option.
Here is a sample output for command LJOBR:
JOB=JOB1 DATE=YY.DDD PAGE 0001
JOB SYSTEM MAIN JOB CPU/ELAPS TAPE1 TAPE2 NBR REGN CPU% LAST-RUN
NAME -NAME- -ID- C/PRT --TIME--- M/CAL M/CAL RUNS SIZE UTIL DATE/TIME
JOB1 TESTNTWK ALL A/002 00001/0001 00/00 00/00 0002 0040K 01.67 09234/1416
SLIA-00 REQUEST COMPLETED AT 08:01:13 on yy.ddd
How does ca7 get/calculate the ‘CPU% UTIL’ value?
The CPU value used to calculate this percentage comes from the ‘DB.1 - CPU Job Definition Panel’ screen and it is gotten by an averaging of the CPU data in the SMF records when the job runs.
As in CA Workload Automation SE Database Maintenance Guide – Section ‘DB.1 - CPU Job Definition Panel’, the CPU keyword uses the CLOCK-TIME and the CPU-TIME values to calculate an average CPU-TIME divided by CLOCK-TIME.
For example, with a CLOCK-TIME of 0001 (60 seconds) and a CPU-TIME of 00010 (10 seconds), the average (10 / 60) would be .166, so a command:
would show this job, but a command:
would not show this job.
In addition, the ‘CPU/ELAPS TIME’ value displayed byu the LJOBR command identifies the CPU time for the job in mmmss format and the elapsed run time (CLOCK-TIME from the job definition panel) in hhmm format.