Previous Topic: Work with Applications and JobsNext Topic: listaetdata Command—List Average Execution Time Data


lastrun Command—Display the Last Run Information of a Job

You can display information about the last runs of a job by issuing the LASTRUN command.

This command has the following format:

lastrun job("job") [application("application")] [runs(runs)]
job("job")

Specifies the job to list.

application("application")

(Optional) Specifies the name of the Application containing the job.

runs(runs)

(Optional) Defines the number of runs to list.

Default: Previous ten runs of the job.

Example: Display the Last Run Information of a Job

The following example displays the last run information of a job:

lastrun job("WINNT1") application("VERIFY")
WINNT1
  Job type:        NT
  Start time:      Fri Oct 26 17:58:54 GMT+05:30 2007
  End time:        Fri Oct 26 17:58:54 GMT+05:30 2007
  Application:     VERIFY.2
  State:           COMPLETE
  Completion Code: 0
WINNT1
  Job type:        NT
  Start time:      Fri Oct 26 17:52:31 GMT+05:30 2007
  End time:        Fri Oct 26 17:52:31 GMT+05:30 2007
  Application:     VERIFY.1
  State:           COMPLETE
  Completion Code: 0

More information:

Issue a Command in the CLI Perspective