Tuesday, June 17, 2008

About WRKJOB command


WRKJOB command- This command is a very powerful command. This command is useful to know more details of the Submitted/Active/ended jobs. There is an option to print to spool file or to current display.


Screen shot:
Work with Job (WRKJOB)

Type choices, press Enter.

Job name . . . . . . . . . . . . > SGD00238 Name, *
User . . . . . . . . . . . . . Name
Number . . . . . . . . . . . . 000000-999999
Output . . . . . . . . . . . . . * *, *PRINT
Option . . . . . . . . . . . . . *SELECT *SELECT, *STSA, *DFNA...











Bottom
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
F13=How to use this display F24=More keys


Usage: WRKJOB command Job name is mandatory.
User and number is optional.
If we just put the job name and press enter. Command will list all the jobs. Please find below screenshot.

Select Job
06/15/08 21:58:45
Type option, press Enter.
1=Select

Entered
Option Job User Number Type -----Status----- System
SGD00238 CSIUSER 221949 CMNEVK OUTQ 06/14/08
SGD00238 QUSER 222422 CMNEVK ACTIVE 06/14/08
SGD00238 QUSER 220121 CMNEVK OUTQ 06/11/08
SGD00238 QUSER 216924 CMNEVK OUTQ 06/07/08










Bottom
F3=Exit F12=Cancel
Duplicate jobs found.

Now we can put 1 on the job and press enter to see the job log.

There are different options to check the details of the job. I will publish in another post.
Post name: Know more details about your job.

No comments: