Job List Menu

Description

The IOF Job List Menu displays a list of jobs. It is invoked from one of its submenus, from the IOF Option Menu, or directly from the IOF command. By default only the jobs that a user submitted are displayed. However, it also can be set to display many other job lists. Options I, R, O, and J, on the IOF Option Menu are used to request lists of specific job types. Also, lists of jobs by destination, group, or other criteria can be displayed.

------------------------------IOF-Job-List-Menu--------------(-10-)-------------- COMMAND ===> SCROLL ===> SCREEN ------------------------------- Input Jobs ----------------------------------- -------JOBNAME--JOBID---ACT-STA-OWNER----C-POSIT-PRTY-SECLABEL-QUALIFIER------ _ 1 DMSMERG1 J007890 JOB ISIJER A 4 9 ------------------------------- Running Jobs --------------------------------- -------JOBNAME--JOBID---ACT-STA-SYID------CPU-----I/O---STEP-----PROCSTEP-SWP _ 2 MODELGN J007825 A83B _ 3 QAS311 J006060 B83D 53:03 443.02 QAS311 IN _ 4 TSCDRS J000777 B83D :02 1.75 TSCDRS RBTR OUT ------------------------------- Output Jobs ---------------------------------- -------JOBNAME--JOBID---ACT-STA-OWNER----DEST/DEVICE-------RECS-HELD-DAY--TIME _ 5 DSMERG0 J004118 ISIJER NAPLES 48K 19K 008 12:29 _ 6 MAKLOAD J008862 ISIJER TRIANGLE 12K 018 15:17 _ 7 MAKOPTN J008098 ISIJER PRINTER1 108 018 14:25 _ 8 MAKSRCE J001929 ISIJER ISIWPC 421 016 18:12 _ 9 PNTSRCE J008099 ISIJER R18.PR1 164K 009 14:26 _ 10 SALESRUN J008854 ISIJER LOCAL.<IP> 4333 466 017 15:59

Sections and Fields

The Job List Menu is organized by sections. Each section displays a different job type so that the most appropriate information for each is shown. Additionally, each section is named and can be used in commands.

The vertical columns of data are called fields. Each field has a field heading (title) and a field name. Where possible, field names are identical to the field heading. For example, JOBNAME and JOBID are field names that match the field heading. Some field headings are abbreviated or expanded from the field name. For example, the CLASS field has a heading of C. Fields and section information is available in the panel's HELP.

Several fields on the Job List Menu are common to all sections. From the left:

The remaining fields on the panel vary according to the section shown. Thus, the most appropriate data for each job type can be displayed. Additional fields can be seen by scrolling right.

Input Jobs Section

Input jobs, if any, are displayed first on the Job List Menu.


 ------------------------------- Input Jobs ----------------------------------
-------JOBNAME--JOBID---ACT-STA-OWNER----C-POSIT-PRTY-SECLABEL-QUALIFIER-----
_        1 DMSMERG1 J007890     JOB ISIJER   A   4     9

The Input Job Section in the sample menu shows that:

Running Jobs Section

Running jobs, if any, are displayed next.

--------------------------------Running-Jobs--------------------------------- -------JOBNAME--JOBID---ACT-STA-SYID------CPU-----I/O---STEP-----PROCSTEP-SWP _ 2 MODELGN J007825 A83B :03 _ 3 QAS311 J006060 B83D 53:03 443.02 QAS311 IN _ 4 TSCDRS J000777 B83D :02 1.75 TSCDRS RBTR OUT

The sample running jobs menu shows:


Output Jobs Section

Output jobs, if any, are displayed next.

------------------------------- Output Jobs --------------------------------- -------JOBNAME--JOBID---ACT-STA-OWNER----DEST/DEVICE-------RECS-HELD-DAY--TIME _ 5 DSMERG0 J004118 ISIJER NAPLES 48K 19K 008 12:29 _ 6 MAKLOAD J008862 ISIJER TRIANGLE 12K 018 15:17 _ 7 MAKOPTN J008098 ISIJER PRINTER1 108 018 14:25 _ 8 MAKSRCE J001929 ISIJER ISIWPC 421 016 18:12 _ 9 PNTSRCE J008099 ISIJER R18.PR1 164K 009 14:26 _ 10 SALESRUN J008854 ISIJER LOCAL 4333 017 15:59

The sample menu of output jobs shows that:


The DEST/DEVICE column normally shows a destination. If the job is busy printing, the device name is shown instead.

The DAY and TIME fields are highlighted if the job ran today and are non-blank only if the job has at least one output group. Each output group is time stamped, and the earliest group time stamp is displayed in this field.

Other Job List Menu Sections

There are several additional sections on the Job List Menu that will be displayed when needed. You may occasionally see jobs queued for transmission to another node, or jobs queued to be purged from the system. See the Appendix for directions on accessing HELP for field and section information.

Line Commands

Subject to restrictions that may be imposed by your installation, the following line commands can be executed on the Job List Menu:

?
Display function menu for a job. When in doubt about available commands, use the question mark to get assistance.
S
Select job for review by the IOF Job Summary.
B
Browse entire job as one continuous data set. Skip the job summary.
SQ
Select large jobs quickly to display the data sets on the IOF Job Summary but skip the display of steps.
C
Cancel job. Output jobs are purged; running jobs go to output.
PU
Purge the job from the queue.
PR
Print job at the user's default print destination and sysout class. The job's held data sets, if any, are released to the default sysout class and the destination for the job is set to your default print destination. The default print destination and class are set in the IOF profile by using option P.1 on the IOF Option Menu. See Chapter 6 for detailed information.
R
Release held data sets to class specified in your profile. (See option P.1.)
V
View the job using a saved index. (See Save Internal Browse Index on page ? in Chapter 9, Browse.)
H
Hold job.
A
Release a held job.
E
Restart a running job.
PC
Print check. Determine why job output will not print. (TSO only)
ED
Edit the job. Rebuild the original job in a temporary data set and enter the ISPF editor (ISPF only).
SUBmit
Rebuild and resubmit the original job.
M
Modify job attributes (or overtype with new attributes)
CMT
Add a 1 to 40 character comment to the comments field. This command is normally entered with a menu number on the command line and is primarily designed for clist or REXX use.
CDUMP
Cancel a running job with a dump.
X
Exclude job from the Job List Menu.
N
Snap a copy of entire job.
HDR
Add a block header to the target snap data set. The JOBNAME and JOBID are formatted into block characters.
AT
Start a server session on the system where a running job currently is executing.
SJ
Start job immediately (WLM GOAL mode only).

------------------------------IOF-Job-List-Menu--------------(-3-)------------ COMMAND ===> SCROLL ===> SCREEN ------------------------------- Running Jobs -------------------------------- -------JOBNAME--JOBID---ACT-STA-SYID------CPU-----I/O---STEP-----PROCSTEP-SWP C 1 MODELGN J007825 A83B _ 2 QAS311 J006060 B83D 53:03 443.02 QAS311 IN S 3 TSCDRS J000777 B83D :02 1.75 TSCDRS RBTR OUT

Line commands are normally entered in the line command area to the left of the job. The example above shows that the first job (MODELGN) has been canceled and the third job (TSCDRS) has been selected for review.

Overtyping Job Characteristics

Job characteristics can be modified simply by overtyping on the menu.

-----------------------------IOF-Job-List-Menu--------------(-3-)------------ COMMAND ===> SCROLL ===> SCREEN ------------------------------- Input Jobs ---------------------------------- -------JOBNAME--JOBID---ACT-STA-OWNER----C-POSIT-PRTY-SECLABEL-QUALIFIER----- _ 1 DMSMERG1 J007890 JOB ISIJER T 4 9 ------------------------------- Output Jobs --------------------------------- -------JOBNAME--JOBID---ACT-STA-OWNER----DEST/DEVICE-------RECS-HELD-DAY--TIME _ 2 DSMERG0 J004118 ISIJER NAPLES 48K 19K 008 12:29 P 3 MAKLOAD J008862 ISIJER LOCAL 12K 018 15:17

Modifications can be done in conjunction with any of the commands. In the example above, the third job (MAKLOAD) is being printed to an explicit destination of LOCAL.

Scroll right to see the additional overtypeable job characteristics.

Line Commands in the Command Area

Optionally, line commands can be entered in the command area at the top of the screen. This method may be faster and save key strokes for certain commands. It is the only way to enter line commands from line mode terminals, from batch TSO, and from IOF clists.

---------------------------- IOF Job List Menu ------------( 5 )--------------- COMMAND ===> 1-3 5 C SCROLL ===> SCREEN ------------------------------- Output Jobs ----------------------------------- -------JOBNAME--JOBID---ACT-STA-OWNER----DEST/DEVICE-------RECS-HELD-DAY--TIME _ 1 DSMERG0 J004118 ISIJER NAPLES 48K 19K 008 12:29 _ 2 MAKLOAD J008862 ISIJER TRIANGLE 12K 018 15:17 _ 3 MAKSRCE J001929 ISIJER ISIWPC 421 016 18:12 _ 4 PNTSRCE J008099 ISIJER R18.PR1 164K 009 14:26 _ 5 SALESRUN J008854 ISIJER LOCAL 4333 466 017 15:59

Line commands in the command area begin with a job menu number or list of menu numbers. This identifies the job(s) for which the command will be executed. The line command in the above example cancels jobs 1 through 3 and job 5.

To select a job, enter its menu number in the command area. For example, entering 5 in the command area would select SALESRUN for review.

Parms for Line Commands in the Command Area

Job characteristics also can be modified from the command area. To modify a job, follow the M command with the name of the field to be modified and the new value as a parameter. For example, to change the destination of the MAKSRCE job in the menu above to LOCAL, enter:

        3  M  DEST(LOCAL) 

in the command area.

The following modification operands can be used with the commands:

Operand                       Function
CLASS(c)                      Set job input class to c.
PRTY(p)                       Set job priority to p.
DEST(route)                   Set job destination to the route code.
XEQ(node)                     Set the execution node name for an input job.
SYSID(sid1,...,n)             Set the system id to a list of system ids.
IND(YES/NO)                   Add or remove JES2 independent mode to the job.
PERFORM(g)                    Set the performance group of a running job to g.
                              (WLM Compat mode)
SRVCLASS(c)                   Set the service class of an input or running job
                              to c (WLM Goal mode).
NEWCLASS(c)                   Set new class for released held output.
QUIESCED(YES/NO)              Set WLM goal mode quiesced state.

Primary Commands

The Job List Menu provides comprehensive commands to manipulate the list of jobs. Primary commands which apply to the whole job list must be entered in the command area at the top of the screen.

Determine Return and Abend Codes of all Jobs in the List

Analyze all jobs in the job list to determine the highest return code or abend code. Save the date and time the job ran, the highest code and its stepname, and the total record count of the job in the COMMENTS field. This command is not available under CICS.

Syntax

RC [Cur] [Nozero] [SA] [SD]

Cur. If specified, then only current jobs (those that ran yesterday or today) will be analyzed.

Nozero. If specified, then all jobs that have zero return code in all steps will be excluded from the display.

SA. Sort the display in ascending date/time sequence.

SD. Sort the display in descending date/time sequence.

Examples

            RC
            RC C N SA

Exclude Job from List

Exclude jobs from the menu based on a display field meeting a specified condition.
EXCLUDE with no parameters resets all previous exclusions. EXCL ALL excludes all items from the list.

Syntax

EXCLude fieldname operator string

ALL

fieldname. The display field name. Field names are normally the same as the field heading. See the Appendix for detailed information on using HELP to determine field names.

operator. Comparison operator. Valid operators are EQ, NE,
LT, GT, CT (containing), NC (not containing), BG (beginning), and NB (not beginning).

string. The string to be compared against. The string can be enclosed in single quotes.

ALL. Exclude all jobs.

Examples

         EXCLUDE  JOBNAME  EQ  TEST
         EXCL  JOBID- BG S
         EXCL  DAYSOLD  LT  3                  (Requires EXTEND)
         EXCL  SECTION  NE INPUT
         EXCL                                  (remove all previous

Unexclude Jobs from List

Return excluded jobs to the menu based on display field meeting a specified condition.

Syntax

UNEXcl fieldname operator string

fieldname. The display field name. Field names are normally the same as the field heading. See the Appendix for detailed information on using HELP to determine field names.

operator. Comparison operator. Valid operators are EQ, NE,
LT, GT, CT (containing), NC (not containing), BG (beginning), and NB (not beginning).

string. The string to be compared against. The string can be enclosed in single quotes.

Sort Job List

Sort the list of jobs on one to four display fields within section. Sort with no parameters will display a sort assist panel if the cursor remains in the COMMAND input area. Sort without parms with the cursor pointing to a panel field does an ascending sort on that field. The specified sort criteria is saved in the user’s profile, unless an initial sort was also specified on the Option Menu.

Syntax

SORT      field1   [A/D]   [field2   A/D    field3   A/D    field4 A/D]
          OFF

field1 Display field on which to sort. See the Appendix for detailed information on using HELP to determine field names, or enter the FIELD command with the cursor pointing to a field to determine the field name.

A. Sort in ascending sequence. This is the default for the first sort field. A or D must be specified for other sort fields.

D. Sort in descending order.

field2, field3, field4. Optional additional sort fields.

OFF. Disable sorting on this panel.

Examples

         SORT  DATE D TIME D
         SORT  CPUTIME D           (Applies to running jobs only)
         SORT  JOBNAME A JOBID A
         SORT  OFF

Determine a Panel Field Name

Determine the official field name of a displayed field on the panel.

Syntax

FIELD

Point the cursor to the field whose field name is to be determined. When running under ISPF, a popup window will be displayed. From TSO or CICS, the field name will be displayed in the short error message area to the right of the top line on the screen.

Find a Job

Find a job in the job list.

Syntax

FIND [ section ] [ fieldname ] string

section. A section name can optionally be specified as the first operand to limit the search to jobs in that section. Section names are documented in HELP for the panel.

fieldname. A field name optionally can be specified next to designate the search field. JOBNAME is the default field name if none is specified. See the Appendix for detailed information on using HELP to determine field names.

string. The string to be found.

Examples

         FIND  PAYROLL                      (Find a job with job name of PAYROLL)
         FIND JOBID J08862
         FIND OUTPUT

Locate a Job

Locate the first job with a field equal to or greater than a specified value. The job list should be sorted on the specified field.

Syntax

LOCate [ section ] [ fieldname ] string

section. A section name can optionally be specified as the first operand to limit the search to jobs in that section. Section names are documented in HELP for the panel.

fieldname. A field name can optionally be specified next to designate the locate field. JOBNAME is the default field name if none is specified. See the Appendix for detailed information on using HELP to determine field names.

string. The string to be located.

Examples

         LOCATE  PA                           (Locate first job name beginning PA or greater)
         LOC  CLASS C

Up and Down

Scroll the Job List Menu up or down.

Syntax

Down / Up [ nnn / Max / Section ]

nnn. Number of rows to scroll up or down.

Max. Scroll to the top or bottom of the menu.

Section. Scroll up to the previous section or down to the next section in the menu.

Right and Left

Scroll the menu to the left or right.

Syntax

RIght / LEft [ nnn / Max ]

nnn. Number of characters to scroll right or left.

Max. Scroll to the right or left margin.

Display Extended Information

Display additional information about each job in the list to the far right of the display. The added information is not resident in the system queue and must be read from disk. Because of this additional overhead, this command may be restricted at your installation.

Information such as job submission time stamp, user name, account number, job execution time stamp, and job age is displayed when extend is on.

Syntax

EXTEND [ ON / OFF ]

ON / OFF. Enable or disable extend. ON is default if neither ON nor OFF is specified.

Lock the List

The current list of jobs is locked and not updated as long as lock is active. This command can be used before the EXTEND command is used to reduce overhead, and is quite useful in clists and REXX execs to allow working with a fixed list of jobs.

Syntax

LOCK

Unlock the List

The current list of jobs is unlocked and refreshed.

Syntax

UNLOCK

Refresh the List

Cause the list of jobs to be refreshed even if the display is currently locked. This command is normally useful only in IOF clists and REXX execs.

Syntax

REFRESH

Nospun

Jobs selected after this command has been entered will have no dynamically allocated sysout data sets displayed on the IOF Job Summary. Entering this command before selecting a job with a large number of dynamically allocated (spun) sysout data sets can significantly reduce the delay in producing the IOF Job Summary.

Syntax

NOSPUN

Spun

Turns off the NOSPUN option set by the NOSPUN command.

Syntax

SPUN

Nodata

Jobs selected after this command has been entered will have only the system sysout data sets displayed on the IOF Job Summary.

Syntax

NODATA

Data

Turns off the NODATA option.

Syntax

DATA

Define Target Sysout for SNAP (SS)

Defines a sysout target data set for SNAP. See Chapter 16 for a complete description of operands on the SS command. If SS is entered with no operands, an interface option panel is displayed to assist in defining the target sysout data set.

Syntax

SS

Note that when the SS command is entered on the Job List Menu, the target data set remains open until it is explicitly closed with a SNAPCLOS command, another SS or SD command, or until the IOF session is terminated.

Define Target MVS Data Set (SD)

Define an MVS target snap data set. Any non-vsam data set can be defined as the target data set. See Chapter 16 for a complete description of operands that can be entered on the SD command. If SD is entered with no operands, an interface panel is displayed to assist in defining the target MVS data set.

Syntax

SD

Note that when the SD command is entered on the Job List Menu, the target data set remains open until it is explicitly closed with a SNAPCLOS command, another SS or SD command, or until the IOF session is terminated.

Close the Target Snap Data Set

Explicitly close a target snap data set that was previously opened on the Job List Menu. Note that the snap data set will automatically be closed when the IOF session is terminated.

Syntax

SNAPCLOS

Add a Block Header to the Target Snap Data Set

Explodes text to block letters and writes them to the previously defined target snap data set.

See Chapter 16 for a complete description of the SNAPHDR command.

Add Text to the Target Snap Data Set

Adds carriage control and text to the target snap data set.

See Chapter 16 for a complete description of the SNAPTEXT command.

Rearranging Columns on the Panel

See Chapter 6 for a description of the CUT, PASTE, and ARRANGE commands to customize the panel display format.

Table of Contents