Work with jobs in a distributed relational database

The Work with Job (WRKJOB) command presents the Work with Job menu. This menu allows you to select options to work with or to change information related to a specified job. Enter the command without any parameters to get information about the job you are currently using.

Specify a job to get the same information pertaining to it by entering its name in the command like this:

WRKJOB JOB(job-number/user-ID/job-name)

You can get the information provided by the options on the menu whether the job is on a job queue, output queue, or active. However, a job is not considered to be in the server until all of its input has been completely read in. Only then is an entry placed on the job queue. The options for the job information are:

Information about the following options can be shown only when the job is active:

Option 10 (Display job log) gives you information about an active job or a job on a job queue. For jobs that have ended you can usually find the same information by using option 4 (Work with spooled files). This presents the Work with Spooled Files display, where you can use option 5 to display the file named QPJOBLOG if it is on the list. The Work with Job (WRKJOB) command presents the Work with Job menu.

Related reference
Work with Job (WRKJOB) command
Application does not complete in the expected time