HCL Workload Automation, Version 9.4

rep7

This command prints Report 07-Job History Listing.

Syntax

rep7 -V|-U

rep7
     [-c wkstat]
     [-s jstream_name]
     [-j job]
     [-f date ]
     [-t date]
     [-l]

Run the command from the TWS_home directory.

Arguments

-U
Displays the command usage information and exits.
-V
Displays the command version and exits.
-c wkstat
Specifies the name of the workstation on which the jobs run. The default is all workstations.
-s jstream_name
Specifies the name of the job stream in which the jobs run. The default is all job streams.
-j job
Specifies the name of the job. The default is all jobs.
-f date
Specifies to print job history from this date forward. Enter the date as yyyymmdd. The default is the earliest available date.
-t date
Specifies to print job history up to this date. Enter the date as yyyymmdd. The default is the most recent date.
-l
Limits the summary line information to the jobs which fall in the date range specified by the -f or -t options. Using this option causes the order of output to be reversed: the job summary line will be printed after the individual job run lines. This option is valid only if you also specify at least one of the -f or -t options.

Comments

The elapsed time displayed for a shadow job is the elapsed time of the remote job to which it is bound.

Any time you run rep7 the output of the command contains the information stored until the last time you run JnextPlan, the information related to the run of the current production plan will be contained in the rep7 output the next time you run JnextPlan. For this reason if you run rep7 after having generated the production plan for the first time or after a ResetPlan command, the output of the command contains no statistic information.

Examples

Print all job history for workstation ux3:
rep7 -c ux3
Print all job history for all jobs in job stream sked25:
rep7 -s sked25 
Print job history for all jobs in job stream mysked on workstation x15 between 1/21/2005 and 1/25/2005:
rep7 -c x15 -s mysked -f 20050121 -t 20050125