Previous Topic: Running Jobs By RequestNext Topic: Posting Requirements


Showing Jobs That Are Waiting

Now we can see these jobs in the Request queue and can learn how to control them. Start by displaying the Queue Maintenance Menu. To display this menu, enter this command (either on the top line or in the FUNCTION field):

QM

This menu is displayed:

----------------------- CA-7 QUEUE MAINTENANCE MENU ----------------------- FUNCTION ===> MAINTENANCE TO BE PERFORMED ON: 1 - CPU JOBS STATUS 2 - CPU JOB PREDECESSORS 3 - CPU JOB ATTRIBUTES 4 - CPU JOB IN RESTART STATUS 5 - QUEUED JCL 6 - INPUT NETWORKS 7 - OUTPUT NETWORKS PROGRAM: QM00 MSG-INDX: 00 -- QM -- yy.ddd / hh:mm:ss MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE

To see the status of your CPU jobs, enter 1 in the FUNCTION field.

When you press Enter, this screen is displayed:

------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS PROMPT ------------- FUNCTION ===> (LEAVE BLANK EXCEPT TO TRANSFER) DESIRED JOB(S) => SPECIFIC, MASK OR CA-7# (DEFAULT ALL) CA-7 SYSTEM => SPECIFIC OR MASK (DEFAULT ALL) LIST SEQUENCE => J=JOBNAME, N=JOB#, E=QUEUE ENTRY (DEFAULT) CA-7 QUEUE ID => REQ RDY OR ACT (DEFAULT IS REQ) DISPLAY RQMTS => NO (DISPLAY REQUIREMENT INFORMATION) RQMT CRITERIA => (ALL,ANY,JOB,INT,EXT,USR,NWK,SUB,HLD,JCLO, VER,SKEL,REST,BINT) FILL FUNCTION => (OPTIONAL) C = CANCEL R = RELEASE FROM HOLD STATUS F = GO TO RESTART SCREEN S = SATISFY SUBMIT TIME RQMT H = PLACE IN HOLD U = GO TO ATTRIBUTE UPDATE SCREEN J = REVERSE JCL OVERRIDE RQMT V = REVERSE VERIFY RQMT STATUS P = RESPOND TO PROMPTING X = GO TO JOB PREDECESSOR SCREEN Q = REQUEUE FOR A RESTART E = FETCH QUEUED JCL AND EDIT PROGRAM: QM2F MSG-INDX: 00 -- QM.1 -- yy.ddd / hh:mm:ss MESSAGE: ENTER VALUES, TRANSFER OR ENTER A COMMAND ON THE TOP LINE

The panel asks you the jobs that you want to see, the order you want them listed, and the queues you want to see. To see all jobs in the Request queue in the order they reside in the queue, press Enter.

This screen is displayed:

----------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS ----------------- F-JOBNAME--CA7# NAMED nnnn JOB: * NAMEC nnnn SYS: * SEQ: ENTRY QUEUE: REQ LIST: ALL FUNCTIONS: C=CANCEL F=RESTART H=HOLD J=JCLOVRD P=RSVP Q=REQUEUE R=RELEASE S=SUBTM OFF U=UPDATE V=VERIFY X=RQMT POST E=EDIT QJCL PROGRAM: QM20 MSG-INDX: 00 -- QM.1-X -- yy.ddd / hh:mm:ss MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE

The jobs that you see listed on your screen depend on the number of actual jobs in your Request queue currently. You can also see NAMEC and NAMED, which you recently added to the Request queue by the DEMANDH command. (If not, scroll forward until you do.)

This screen not only lists the jobs in the queue, it also lets you change their status, their JCL, or the way they are processed. The right side of the screen lists the function codes that you can use for changes.

The best way to see why a job is sitting in the Request queue is to use the LQ command to list its requirements. This way is the same way we did previously. Try this method now with NAMED by typing this command on the top line of your screen:

LQ,JOB=NAMED

When you press Enter, this screen is displayed:

LQ,JOB=NAMED LIST=STATUS JOB=NAMED DATE=yy.ddd PAGE 0001 JOB QUEUE CA-7 -DAY(DDD) AND TIME(HHMM)-- CPU SCH ENTRY MSTR JOB NAME NAME JOB# DEADLINE SUB/START DUE-OUT SPEC/RUN ID MODE REQ STATUS NAMED REQ nnnn 068/1828 *NONE* 068/1828 *NOEX* 001 DEMD 003 ------------------------- REQUIREMENTS STATUS ------------------------- _______ JOB ON HOLD _______ INTERNAL JOB=NAMEC DATE/TIME=yy068/1727 _______ EXTERNAL USR=CALL DAVE AT X234 BEFORE RUNNING. DATE/TIME=yy068/1728 SLIF-00 REQUEST COMPLETED AT hh:mm:ss ON yy.ddd

As you can see, NAMED has the same requirements it did in the (listing more than one job) sample screen. NAMED also has the additional requirement that it is on hold. The job is on hold because we added it to the Request queue with the DEMANDH command.

Another way to see what requirements are holding a job in the Request queue is to use the XQM command. If you go to the top of the screen and you enter XQM, the CPU Jobs Status (RQMTS) screen is displayed:

-------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS (RQMTS) -------------- F-JOBNAME---J--I--E--U--N-SHJV NAMEC . . . . . H JOB: * NAMED 1 . . 1 . H SYS: * SEQ: JOBNAME QUEUE: REQ LIST: ALL FUNCTIONS: C=CANCEL F=RESTART H=HOLD J=JCLOVRD P=RSVP Q=REQUEUE R=RELEASE S=SUBTM OFF U=UPDATE V=VERIFY X=RQMT POST E=EDIT QJCL PROGRAM: QM20 MSG-INDX: 00 -- QM.1-M -- yy.ddd / hh:mm:ss MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE

The CPU Jobs Status (RQMTS) screen shows you a summary of the outstanding requirements for each job listed. The screen shows counts for the number of job requirements (J), internal data set requirements (I), external data set requirements (E), user requirements (U), and network requirements (N). The screen also has flags (SHJV) for submit time requirement (S), hold requirement (H), JCL override requirement (J), and verify requirement (V).

For NAMED to move from the request queue to the ready queue, all of its requirements must be posted. We can illustrate how to do this method by returning to the CPU Jobs Status screen. (You can also post them the same way from the XQM screen.)