SDSF For JES3
SDSF For JES3
Juha Vainikainen
Paul Rogers
Karan Singh
ibm.com/redbooks Redpaper
International Technical Support Organization
October 2009
REDP-4531-00
Note: Before using this information and the product it supports, read the information in “Notices” on page v.
This edition applies to Version 1, Release 11, Modification 0 of z/OS (product number 5694-A01).
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
The team that wrote this paper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Appendix A. A sample REXX exec to display JES3 job zero data sets. . . . . . . . . . . . 93
5.3 SDRXJ0DS REXX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in other countries. Consult
your local IBM representative for information on the products and services currently available in your area. Any
reference to an IBM product, program, or service is not intended to state or imply that only that IBM product,
program, or service may be used. Any functionally equivalent product, program, or service that does not
infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to
evaluate and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described in this document. The
furnishing of this document does not give you any license to these patents. You can send license inquiries, in
writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY 10504-1785 U.S.A.
The following paragraph does not apply to the United Kingdom or any other country where such
provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION
PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of
express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically made
to the information herein; these changes will be incorporated in new editions of the publication. IBM may make
improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time
without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in any
manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the
materials for this IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring
any obligation to you.
Information concerning non-IBM products was obtained from the suppliers of those products, their published
announcements or other publicly available sources. IBM has not tested those products and cannot confirm the
accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the
capabilities of non-IBM products should be addressed to the suppliers of those products.
This information contains examples of data and reports used in daily business operations. To illustrate them
as completely as possible, the examples include the names of individuals, companies, brands, and products.
All of these names are fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrate programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs in
any form without payment to IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating platform for which the sample
programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore,
cannot guarantee or imply reliability, serviceability, or function of these programs.
The following terms are trademarks of the International Business Machines Corporation in the United States,
other countries, or both:
BookManager® PrintWay™ System z®
DB2® RACF® z/OS®
GDDM® Redbooks® z9®
IBM® Redbooks (logo) ® zSeries®
OS/390® System z10™
Parallel Sysplex® System z9®
Java, SBI, and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States,
other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other company, product, or service names may be trademarks or service marks of others.
This IBM® Redpaper publication offers a broad overview of features of the z/OS® System
Display and Search Facility (SDSF) for JES3. z/OS R10 delivers the (long-requested) ability
to use SDSF in a JES3 environment.
This Redpaper describes the features, panels, and functions of SDSF for JES3 and provides
implementation and customization details.
Juha Vainikainen was a Senior I/T Specialist in IBM Finland until his recent retirement. He
has extensive experience with all aspects of OS/390® and z/OS and all related subsystems.
Juha continues to share his vast knowledge about these topics as a consultant for various
ITSO documentation projects.
Karan Singh is a Project Leader with the International Technical Support Organization
(ITSO) in Poughkeepsie, NY. His areas of expertise include core z/OS technologies.
Your efforts will help increase product acceptance and customer satisfaction. As a bonus, you
will develop a network of contacts in IBM development labs, and increase your productivity
and marketability.
Find out more about the residency program, browse the residency index, and apply online at:
Comments welcome
Your comments are important to us!
We want our papers to be as helpful as possible. Send us your comments about this paper or
other IBM Redbooks® publications in one of the following ways:
Use the online Contact us review Redbooks form found at:
ibm.com/redbooks
Send your comments in an e-mail to:
[email protected]
Mail your comments to:
IBM Corporation, International Technical Support Organization
Dept. HYTD Mail Station P099
2455 South Road
Poughkeepsie, NY 12601-5400
SDSF displays data on panels. Commands and actions that you enter on the panels let you
monitor and control jobs and system resources. The SDSF Primary Option Menu lists the
panels that you are authorized to use.
Most SDSF panels display information in a tabular format. You can scroll the information up,
down, right, and left. The tabular panels have a fixed field, at the left, that does not move as
you scroll right and left.
History
SDSF was originally known as SPOOL Display and Search Facility when it was a
field-developed program offering. The word SPOOL was changed to System when it became
a program product in the late 1980s. Starting with z/OS Release 9 SDSF also supports a
REXX interface, allowing batch program facilities to use SDSF. The REXX support
implementation presents data through stem variables containing SDSF-originated
information.
Prior to z/OS Release 10, SDSF was supported for use with JES2 but not JES3. At and
beyond z/OS Release 10 JES3 is supported, with some new commands to display the JES3
job information.
SDSF may be invoked on either a local or global processor running z/OS V1R10 JES3 or
later. When SDSF is invoked on a local processor, the global processor must also be at the
z/OS V1R10 JES3 or later level.
SDSF information
Information about SDSF and z/OS is available on the Internet. If it is supported by your 3270
emulator, you can click a Web address to launch a Web browser.
SDSF home page: usage tips, presentations, as well as a wizard to help you enable the
Sysplex support can be found at:
http://www.ibm.com/servers/eserver/zseries/zos/sdsf
The latest edition of z/OS SDSF Operation and Customization, SA22-7670 is available at:
http://publibz.boulder.ibm.com/epubs/pdf/isf4cs90.pdf
http://www.ibm.com/servers/eserver/zseries/zos/bkserv/
SDSF
PRIMARY
OPTION
MENU
JOB OUTPUT
DATA SET DESCRIPTOR
(?) (Q)
USER
SESSION
LOG
(ULOG)
OUTPUT
DATA SET
(S)
The SDSF support in the JES2 environment includes several functions that are not available
in the JES3 support. These are:
The Output Queue (O) selection displays information about spooled output for jobs,
started tasks, and TSO users on any nonheld output queue.
The Held Output Queue (H) selection displays information about SYSOUT data sets for
jobs, started tasks, and TSO users on any held output queue.
The Initiator (INIT) selection displays information about initiators.
The Printer (PR) selection displays information about printers and jobs being printed.
The Punch (PUN) selection displays information about punches and jobs being punched.
Note: Compared with the JES3 SDSF primary option menu (Figure 1-1 on page 3), JES2
has commands for H, O, INIT, PR, PUN, RDR, LINE, NODE, RM and SO panels that are
not currently supported in the JES3 environment.
SDSF in batch is invoked with one of two program names on a JCL EXEC statement:
SDSF Supports commands and action characters.
ISFAFD Supports commands, action characters, and overtyping of fields on tabular
and other panels, such as the print panels.
For JES3, all configuration parameters default if there is no server. That is because the
assembler ISFPARMS is not supported in JES3 and the server is required to process the
ISFPRMxx parmlib member.
The SDSF server is an address space that SDSF uses to:
Process ISFPARMS statements.
Provide sysplex data on the device panels in a JES2 environment. This use of the server
does not apply to the JES3 environment.
Provide sysplex support for the SYSLOG panel. It does not apply to the JES3
environment.
Note: This function is removed in z/OS V1R11 with the JES3 support.
Note: The current document, z/OS SDSF Operation and Customization, SA22-7670
describes the most up-to-date security considerations and customization of SDSF.
SDSF's pop-ups each have PF keys assigned with an ISPF keylist. Although ISPF allows you
to change the values of the keys in keylists, and to turn off the use of keylists, you should use
the IBM-supplied key definitions and leave keylists on to ensure that the pop-ups work
correctly.
The PF key definitions for SDSF's panels are shown in Figure 2-1.
Help panels appear in pop-up windows in response to user requests for assistance during
SDSF application sessions. Figure 2-2 on page 11 shows the table of contents (TOC) for
SDSF online help. This panel can be accessed by typing HELP at the Command Input line, by
pressing the PF1 key at the SDSF Primary Option Menu, or choosing Option 1. Extended
help from the SDSF HELP action bar menu.
SDSF provides HELP for the HELP. Figure 2-3 and Figure 2-4 on page 12 are the window
pop-ups for the HELP command. These panels can be accessed by typing HELP at the
command input line from any HELP dialog window.
Figure 2-5 shows the HELP Index pop-up. The HELP index can be accessed by entering I in
the command input line from any HELP dialog window. To locate an index character, just type
that character on the COMMAND INPUT ===> line.
Some parts of the tutorial ask you to enter information on simulated SDSF panels. These
simulated panels respond to your input. Interacting with them will help you learn how SDSF
works. However, if you prefer, the system provides the input on interactive panels if you simply
press Enter twice.
Except on the interactive tutorial panels, SDSF commands are not valid on tutorial or help
panels.
Most SDSF panels display information in a tabular format. You can scroll the information up,
down, right, and left. The tabular panels have a fixed field, at the left, that does not move as
you scroll right and left.
Under ISPF, most SDSF functions can be selected from the action bar at the top of the
screen. To display a pull-down menu of choices, place the cursor on an option on the action
bar and press Enter.
SDSF uses colors on the tabular panels to identify active objects (such as jobs) and
overtypable fields, as shown in Table 2-1.
White Active No
Action bar
Messages
SDSF commands
Action character (short command) display
Figure 2-6, Display Active Users Panel, is used to describe the SDSF panel layout and
features.
Figure 2-7 shows the general layout of the first pop-up window for a SDSF display panel.
Examples of the help pop-up window topic text (DA display) follows.
Note: Some of the values on the DA panel, such as CPU% and SIO,
are approximate. For detailed and precise performance
monitoring, use RMF.
The “Action characters: display output, cancel jobs, etc.” panel is shown in Example 2-3.
Example 2-3 Topic 3 - Action characters: display output, cancel jobs, etc.
– 1st pop-up
The title line shows the following:
SDSF DA IPO1 IP* PAG 0 CPU/L/Z/ 26/ 26/ 0 LINE 1-20 (20)
| | | | | |
System ID | | | Lines displayed |
of system | Total demand | or first line |
you are | paging rate | if 100,000 |
logged | Percentage of time |
on to | the CPU is busy, |
Systems displayed MVS, LPAR and zAAP |
(MVS value or views Total lines
SYSNAME value) (**** if more
than 99,999,999)
Title Description
JOBNAME Job name of the address space
StepName Job step name, or TSO procedure name for TSO users
ProcStep Procedure step name, or terminal name for TSO users
Type Type of address space: job, started task,
TSO user, or initiator
JNum JES job number
Owner User ID of job creator
C JES input class at the time the job was selected for
execution
Pos Address space position, for example, swapped in,
swapped out, nonswappable, in transition
– Several other pop-ups follow that describe the rest of the panel fields.
The “Overtyping fields to change their values” panel is shown in Example 2-5.
Field Description
PGN Performance group number
SrvClass Service class name
Quiesce Quiesce indicator (QUIESCE or RESUME)
The “Commands: limit jobs displayed, search, etc.” panel is shown in Example 2-6.
Most of the SDSF’s displays use the same ISFPCU41 panel. This panel defines the same set
of action bar choices for all displays where used.
F1=Help F12=Cancel
– Logs... - The Logs pop-up allows you to display one of the two SDSF Log panels.
• The System Log option displays the SDSF log panel, which displays MVS log data.
• The User Session Log option displays the SDSF User Session Log (ULOG) panel,
which shows MVS and JES commands and responses (including commands
generated by SDSF) that you issued during your session.
– Exit SDSF - The Exit SDSF choice of the Display pull-down ends the SDSF session.
Filter - The Filter choice of the Filter pull-down displays the Filter pop-up, which allows you
to filter the data displayed on SDSF panels that display data in tabular format:
– Filter... - The Filter choice of the Filter pull-down displays the Filter pop-up, which
allows you to filter the data displayed on SDSF panels that display data in tabular
format.
– Prefix of jobname... - The Prefix choice of the Filter pull-down displays a pop-up that
allows you to filter the DA, I, PS and ST panels based on job name.
– Owner... - The Owner choice of the Filter pull-down displays a pop-up that allows you
to filter the DA, I, PS and ST panels based on owning user ID.
– Destination... - The Destination choice of the Filter pull-down displays a pop-up that
allows you to filter the I, PR, ST, and PUN panels based on destination.
– System name... - The System Name choice of the Filter pull-down displays a pop-up
that allows you to specify which systems are to be included on the DA panel.
– Change APPC to OFF - JES2 - The Change APPC choice of the Filter pull-down acts
as a toggle to control the display of APPC transactions on the H and O panels.
– Replies on the Log... - The Replies on the Log choice of the Filter pull-down displays
the Replies on the Log pop-up, which lets you filter the WTORs on the Log panel.
View - The View option of the action bar allows you to control the view of the data
displayed on SDSF panels. To select the View option, press Enter with the cursor on View:
– Sort... - The Sort choice of the View pull-down displays a pop-up that allows you to sort
the SDSF panels that display information in tabular format.
– Set screen characteristics... - The Set Screen Characteristics choice of the Options
pull-down displays a pop-up that allows you to control the use of color and highlighting
on SDSF panels, as well as turn the display of the action bar on or off.
– Set delay for responses... - The Set Delay choice of the Options pull-down displays a
pop-up that allows you to control the default timeout value for awaiting responses to the
slash (/) command.
– Set communications timeout... - The Set communications timeout choice of the
Options pull-down displays a pop-up that lets you set the timeout value for awaiting
sysplex data.
– Set console name... - The Set Console Name choice of the Options pull-down
displays a pop-up that allows you to set the name of the extended console used by
SDSF. The extended console is used by the ULOG panel.
– Set search characters... - The Set Search Characters choice of the Options pull-down
displays a pop-up to let you set the generic and placeholder characters used in pattern
matching.
– Assign PF keys...- The Assign PF Keys choice of the Options pull-down invokes
ISPF's KEYS facility to let you change the PF keys for SDSF panels.
– Change show PF keys to OFF - The Change Show PF Keys choice of the Options
pull-down invokes ISPF's PFSHOW command to let you turn the display of PF keys on
or off.
– Set language for help and tutorial... - The Set Language for Help and Tutorial choice
of the Options pull-down displays a pop-up that allows you to select English or
Japanese for the Help and Tutorial.
– Set cursor option... - The Set Cursor choice of the Options pull-down acts as a toggle
to control how SDSF places the cursor when you work with rows on tabular panels
(except OD).
ON causes the cursor to return to the NP column for the last row you worked with. If the
row is not on the screen, either because it would require a scroll, or because your
In most cases, action characters cause system commands to be issued. Both the ability to
issue some action characters, and the command that is generated, depend on your
installation options and operating system level.
Display the valid action characters for a panel with the SET ACTION command.
The help for each SDSF panel includes a list of the action characters that are valid for that
panel.
A server is required in the JES3 environment to process ISFPRMxx. You define your
ISFPARMS using statements rather than assembler macros. To process ISFPARMS, the
server must be active on each system that contains SDSF users. To provide Sysplex data,
the server must be active on each system that is to be included on SDSF panels.
SDSF for JES3 implementation requires the SDSF server address space to be started to
process ISFPARMS. The server uses dynamic ISPFPARMS, which are defined with
statements rather than assembler macros. Statements are easier to code and are more
dynamic than the assembler macros: they can be updated without reassembling or
link-editing.
The sample ISFPRM00 defines security for three SDSF groups of users that are common to
most installations:
Group 1-- System programmers. User must have JCL, OPER and ACCT TSO authority.
Group 2--Operators. User must have JCL and OPER TSP authority.
Group 3--General users. User must have JCL TSO authority. ISF024I USER userid NOT
AUTHORIZED TO SDSF, NO GROUP ASSIGNMENT is issued if a user with none of the above TSO
authorities attempts to invoke SDSF.
You have to choose SAF to protect SDSF functions in the JES3 environment. Even when
SAF is used for all of SDSF security, you need ISFPARMS to control the following:
Global values (ISFPMAC macro or OPTIONS statement)
Any values for groups that are not related to security (GROUP statement)
Code page - ITRTAB statement
The control of user membership into a group is accomplished with SAF profiles, as shown in
Table 2-2 on page 23.
The access authorities to other profiles in classes SDSF, OPERCMDS, WRITER, XFACILIT,
and LOGSTRM control the actions allowed for members in a group. Refer to z/OS SDSF
Operation and Customization for a complete description of the SAF profiles.
The z/OS SDSF Operation and Customization document also describes how to configure
SAF security for the function provided by GROUP statements.
In general, all TSO users can access the JESSPOOL resources they own. Users do not need
access authority to work with their own jobs and output.
When you provide SAF authority to the SDSF resources by group, go from broad access (for
example, RACF® generic profiles) to limited access (RACF discrete profiles).
System programmers need access to all profiles for each group in order to attain access to all
resources. Likewise, the operators, in addition to having access to their own profiles, also
need access to all profiles defined for end users.
You can define a primary and alternate variable field list for each SDSF panel. The primary
field list contains those fields that are shown upon entry into a panel. The alternate field list
contains fields that can be displayed with the ? command.
The fields that are available on the display depend on your JES level and installation options.
The ARRANGE command allows users to change the order and widths of the fields in each
field list.
The columns on SDSF panels that display data in a tabular format are customized with:
FLD statements. The NAME on FLD statement is referenced by a group. The TYPE on
FLD statements name the SDSF panel for which the list of following FLDENT statements
defines columns that are included on a tabular panel, as well as their order, titles, and
widths.
On an FLDENT statement the COLUMN parameter names an SDSF panel that displays
tabular information. TITLE is the title that appears on a panel for the column defined by
column. WIDTH is the width of the column on the panel.
REXX execs reference columns by their names rather than by their titles.
The source of the data for each column is extracted from either of the following:
From in-storage control blocks. These columns are in the primary field list. SDSF
performance is best when the columns with data from in-storage control blocks are at the
beginning of the field list.
From the JES spool data set, requiring an I/O operation. These columns are in the
alternate field list. I/O operations are only done when the columns are visible on the
screen or being sorted. SDSF performance is best when the columns with data from the
spool data set are at the end of the field list.
The z/OS SDSF Operation and Customization document has tables that show the column
definitions for each SDSF tabular panel and the source of the column data. The tables are for
the following panels:
Display Active Users panel (DA)
Enclaves panel (ENC)
Health Checker panel (CK)
Held Output panel (H) - JES2
Initiator panel (INIT) - JES2
Input Queue panel (I)
Job Class panel (JC)
Job Data Set panel (JDS)
Lines panel (LI) - JES2
Multi-Access Spool panel (MAS) - JES2
Members in the JESPlex (JP) - JES3
Nodes panel (NO) - JES2
Output Descriptors panel (OD)
Output Queue panel (O) - JES2
Printer panel (PR) - JES2
Processes panel (PS)
Punch panel (PUN) - JES2
Reader panel (RDR) - JES2
Note: SDSF JES3 implementation does not use all of the panels.
An X in the Delayed? column indicates that access for the column is delayed. Including these
columns on a panel may impact performance.
By default, the table shows the columns for the current SDSF panel. Select All panels to
include columns from all SDSF panels. If you use the COLSHELP command from the SDSF
primary option menu, the table includes columns for all panels.
Scroll to the first row for a specific panel with the LOCATE panel command. LOCATE can be
abbreviated as L, for example, L PR.
Filter the columns based on panel, name or title with the FILTER command. For more
information, tab to the link and press F1.
The sorting in effect is indicated by the underlining of the selected column (panel, column or
title) in the headings of the table. For example, if you press F5, the headings will be displayed
as shown in Example 2-10.
Example 2-10
Panel Column Title Delayed? Overtype?
You may select an option (All panels and Include descriptions) by typing any character in
the input field. Deselect it by blanking out the input field.
All panels includes columns from all SDSF panels.
Descriptions includes a brief description for each column.
If you cannot find a field on a tabular panel that you are interested in, use the COLSHELP
command to display all fields of the panel you are working with. If the field you are interested
in is listed in the COLSHELP display, but is marked with an X in the Delayed? column, you
can switch the panel field list to ALTERNATE to see the contents of the delayed field. To
switch to the panel field list, select View from the action bar and action 4. Change field
list to PRIMARY/ALTERNATE from the View pop-up.
You can use the tab key to move from one overtypable field to another. Fields that can be
overtyped are highlighted (red or green, by default).
The help for each SDSF panel includes guidance on valid values for overtypable fields. In
most cases, overtyping a field causes a system command to be issued.
Blanking out a value with the space bar does not delete the value. Some fields, where the
associated system command allows it, support deleting the value by typing a comma by itself
in the field.
The overtype extension function also lets you delete values when the field supports a set of
related values. You can display the overtype extension pop-up by typing a + by itself in any
overtypable field. Figure 2-11 on page 27 is an example of the overtype extension pop-up.
When using the overtype extension pop-up, type a value on the pop-up.
The input field on the pop-up may be longer than the maximum valid value for the column; use
the maximum length displayed on the pop-up as a guide.
To repeat an overtype, type = in the NP column to repeat the last action character or
overtyped fields. The action character or overtype does not have to be on the immediately
preceding row. You cannot enter another action character or overtype a field in the row where
the = action character is.
Protection for each type of resource can be defined separately, so that, for example, a user
may be authorized to issue action characters for a job, but not be authorized to browse that
job's data sets. Users can always access the JESSPOOL resources they own; they do not
need additional authority to work with their own jobs and output.
In the above:
nodeid is the NJE node ID of the target JES subsystem.
userid is the local user ID of the job owner.
jobname is the name of the job.
jobid is the JES job ID of the:
– job (for jobs on DA, I, and ST)
– job with which the data set is associated (for SYSIN or SYSOUT data sets).
Ddsid is the data set ID number that identifies the job data set prefixed by the required
letter D.
dsname is the user-specified or system-assigned data set name.
Typically, when you define SAF authority for JESSPOOL resources, you also need to define
other authorities for action characters and overtypable fields. For most action characters, a
user must be authorized for jobs or job output. However, the S, V, and X action characters
require authorization only for SYSIN/SYSOUT data sets. No security checking is made for the
object when the ? or Q action character is used.
To protect resources individually in the OPERCMDS class with restrictive profiles, you would
use the specific resource name for the command generated by the action character.
The IBM-supplied class descriptor table provides a resource group class (GSDSF) and a
resource member class (SDSF). For a resource group class, each user or group of users
permitted access to that resource group is permitted access to all members of the resource
group. For each GSDSF class created, a second class representing the members must also
be created.
Resource group profiles enable you to protect multiple resources with one profile. However,
the resources do not have to have similar names.
A resource group profile is a general resource profile with the following special
characteristics:
Its name does not match the resource it protects.
The ADDMEM operand of the RDEFINE command specifies the resources it protects (not
the profile name itself).
The related member class (not the resource class itself) must be RACLISTed. For
example, the SDSF class must be RACLISTed, not the GSDSF class. Use the
SETROPTS command with the RACLIST operand for this task.
When the SAF class a resource is in is inactive, or the profile to protect the resource is not
defined, in a JES3 environment, the request fails.
Authorized SDSF commands are protected by defining resource names in the SAF SDSF
class. These commands include ABEND, ACTION, CK, DA, DEST, ENC, FINDLIM, I, INPUT,
JC, JESNAME parameter on SDSF command, LOG, OWNER, PR, PREFIX, PS, RES, SE,
SO, SP, SR, ST, SYSID, SYSNAME, TRACE, and ULOG.
The input display shows jobs in execution or waiting on the JES input queue to be executed. A
highlighted row indicates an active job.
The Filter choice of the filter pull-down displays the filter pop-up, which allows you to filter the
data displayed on SDSF panels that display data in tabular format.
To select the choice, type the number of the choice or place the cursor on the choice and
press Enter. Under ISPF, the values you specify are saved across sessions.
Pop-up choice Setting filtering data
Filter Column Oper Value are the pop-up filtering data fields
Type filter criteria. Type a / in the Column or Oper fields for valid
prompt pop-up. Press F11/23 to clear all.
You can either type the column names directly or select them from a
prompt pop-up.
You can abbreviate the column name to the shortest string of
characters that uniquely identifies that column. The value field data
may include * and %.
Prefix of jobname... Type a prefix to limit jobs on the DA, I, PS and ST panels. The prefix
string may include * and %.
Owner Type an owner to limit jobs on the DA, I, PS, and ST panels. The
owner string may include * and %.
Destination Type up to 4 destinations to limit jobs on the ST panel following the
JES rules for destination names. Only those jobs whose names match
the destination are displayed.
To delete a destination, simply blank it out. Blank out all destinations
on the pop-up to display jobs for all destinations, or for the destinations
named filter criteria in the IDEST parameter of ISFPARMS if one is
coded.
System name... Type a system name or leave blank for the system you are logged on
to. The system name string may include * and %.
Replies on the Log... Type a system name to limit WTORs on the Log panels. Leave blank
for the system you are logged on to. The system name string may
include * and %.
Use pattern matching characters (* and % by default) for an inexact or partial match. For
example:
FILTER JOBNAME EQ %A* matches jobs with a name that has A in the second position.
You can change the pattern matching characters with the SET SCHARS command.
The ACTION command controls the display of Write-To-Operator-with-Reply (WTOR)
messages on the log by specifying which WTOR messages are displayed at the bottom of
the Log panel. You must be authorized to use this command. ACTION may be used on
any SDSF panel. The ACTION command format is shown in Example 3-2.
The DEST command limits jobs to be selected for display by destination. You must be
authorized for the command and for the destination. The DEST command may be used on
The OWNER command limits jobs selected for display by owner ID. You must be
authorized to use this command. OWNER may be used on any SDSF panel but affects
only the DA, I, PS, and ST panels. The OWNER command format is shown in
Example 3-4.
The PREFIX command limits jobs selected for display by job name or netmail ID. This
command may be used on any SDSF panel, but affects only the DA, I, PS, and ST panels.
The PREFIX command format is shown in Example 3-5.
The RSYS command limits WTORs displayed at the bottom of the Log panels. You must
be authorized for this command. This command may be used on any SDSF panel, but
affects only the Syslog and Operlog panels. The RSYS command format is shown in
Example 3-6.
The SYSNAME command specifies the systems in the sysplex that are included on the
CK, DA, ENC, and PS panels. You must be authorized to use this command. The
SYSNAME command may be used on any SDSF panel. This command format is shown in
Example 3-7 on page 36.
The SELECT command temporarily limits the jobs (rows) displayed on tabular panels.
This command only lasts until you exit the panel or issue another SELECT with no
parameters. The SELECT command may be used on any tabular panel. The SELECT
command format is shown in Example 3-8.
JDS panel:
• ddname {stepname}
• dsid
CK panel:
• checkname {checkowner}
The SET TIMEOUT command sets the timeout value for awaiting sysplex data on browse
panels. The SET TIMEOUT command format is shown in Example 3-9.
The sysplex-wide DA panel requires RMF in a JES3 environment. Some of the values on
the DA panel, such as CPU% and SIO, are approximate. For detailed and precise
performance monitoring, use RMF.
The action bar View pull-down choice 4. “Change field list to ALTERNATE” acts as a toggle
to display the primary or alternate fields on SDSF tabular display panels.
The input display is accessed with the I command from any SDSF panel. The format of the
INPUT command is shown in Example 3-10.
I with no parameters displays all jobs in all classes (but not TSO users or
started tasks). The jobs displayed may be limited by your authorization and by
filter settings such as PREFIX or FILTER.
class - displays information for a specific input class. Enter a single class,
up to 7 characters. To filter the panel using more than one class, use the
FILTER command.
The hardcopy queue contains all jobs that have any type of output in the
system. Accessing the hardcopy queue by using the I command allows you to find
output for a job, whether it is on a held or nonheld JES output queue. You can
also use the hardcopy queue to display output that has been printed but that
remains in the JES spool.
H - displays only held jobs.
NH - displays only jobs that are not held.
Examples:
IAC H Displays jobs in classes A and C that are held.
IA NH Displays jobs in class A that are not held.
I$ Displays the input queue for all TSO users.
Figure 3-1 on page 39 shows a snippet of an SDSF input queue PRIMARY field list display.
The action bar View pull-down choice 4. “Change field list to ALTERNATE” acts as a toggle
to display the primary or alternate fields on SDSF panels that display information in tabular
format. To select the choice, type the number of the choice or place the cursor on the choice
and press Enter.
Figure 3-2 displays some fields on the SDSF input queue ALTERNATE field list.
To get back to the input queue PRIMARY field list display, redo the action bar View pull-down
choice 4. “Change field list to PRIMARY”.
The SDSF input queue definition for JES3 does not include any overtype fields.
ULOG
Figure 3-3 shows an example of the JES3 commands response displayed when ULOG is
active. The response overlays the top display data on the panel.
The ULOG command has been entered on the COMMAND INPUT ===> field. The User
Session Log (ULOG) panel allows authorized users to display MVS and JES commands and
responses issued during the SDSF session. The ULOG shows commands generated by
SDSF and SAF. SDSF deletes the user session log when an SDSF session is ended or when
the ULOG CLOSE command is issued.
SDSF uses MVS MCS console services to acquire an extended console for the ULOG. The
action bar Options pull-down choice, 9. “Set console name...”, displays a pop-up that allows
you to set the name of the extended console used by SDSF, which is used by the ULOG
panel. Instead of the pop-up, the SET CONSOLE name command may be issued to set the
extended console name.
CLOSE deletes all entries in the user session log and deactivates the extended
console.
When the ULOG is active, the output of the JES or MVS operator commands issued for
actions is displayed on the current panel.
Figure 3-3 JES3 command ULOG response for a DX action on the I panel
The JES3 commands and command responses resulting from actions are recorded in the
hardcopy log.
The response for action D for job VAINI2 is shown in Example 3-13.
The responses indicate that both jobs are also in a JES3 DJC net. SDSF for JES3 does not
provide DJC net panels. The response from the JES3 inquiry COMMAND_INPUT ===>
/*I,N,ID=NET is shown in Example 3-14.
SDSF messages
SDSF displays messages on the panel line above the COMMAND INPUT ===> line. In
Figure 3-5, the INVALID COMMAND response is displayed on the right of the screen above
the COMMAND INPUT line.
Each SDSF message has a help panel you can display to see an explanation and response to
the message. Information about displaying the message helps is included on SDSF help
panels. To display help for a message with no message number, type the initial letter of the
message. For example, for help on the message ACTIVE MODIFY INVALID, type the letter
A.
You can also search in online documents using the BOOK command (see the online help for
more information). When the cursor is in the message area, BOOK uses the message text as
a search string.
Figure 3-6 on page 44 shows an example of an SDSF status display for some JES3 jobs. In
the figure, the Status field has been moved (arranged) after C (class) and ASys after Status.
In this example, the select command (S R* 13456) issued on the ST panel limits the output of
the display to jobs whose JOBNAME starts with the letter R and whose JOBID equals 13456.
A select command with no parameters returns the display to the original display.
The INPUT {ON|OFF} command specifies whether jobs’ input data sets are to be included
when you view jobs from the DA, ST, or I panels. You must be authorized to use this
command. The action bar Options pull-down choice 3 can be used to toggle between input
ON or OFF.
The SET HEX {ON|OFF} command controls display in hexadecimal for this session. The
action bar View pull-down choice 3 “Set hex to ON|OFF” may be used instead of the SET
HEX command to control display in hexadecimal.
The SDSF browse does not support the ISPF type labels for data lines and the ISPF picture
string find commands.
Page-mode output may be indicated by the following on the Job Data Set panel: a value of
PAGE in the PRMODE field, and a value other than blanks in the PAGE-CNT field.
The SET BROWSE command controls the default browse action character (S, SB, or SE)
that is issued when you place the cursor in the NP column and press Enter.
Figure 3-7 shows an example of the SDSF job output browse display.
To re-edit a job’s JCL, the SJ action can be entered on any line on the job data set display
panel, as shown in Figure 3-9.
Output descriptor fields can be overtyped if the output descriptors panel was accessed from
the DA, I or ST panels. The data set must be closed.
OD panel fields
The Output Descriptors panel includes some or all of the following fields. Their order and titles
may be different, depending upon installation and user options.
Title Description
DDNAME Ddname of the data set
Output-Descriptors Output descriptor for the data set
PageDef Library member used by PSF to specify print characteristics such as page
length and width
FormDef Library member used by PSF to specify print characteristics such as
overlays
Title Title of output
Name Output name
Building Output building
Department Output department
Room Output room
Address Output address lines 1 through 4
OutBin Output bin
ComSetup Printer setup options
FormLen Form length
ColorMap AFP resource for the data set containing color translation information
InTray Paper source
OverlayB Overlay for the back of each sheet
OverlayF Overlay for the front of each sheet
OffsetXB Offset in the x direction from the page origin for the back of each page
OffsetXF Offset in the x direction from the page origin for the front of each page
Figure 3-11 shows a JESPLEX panel for a three main processor JES3 complex on an 80-byte
line length screen. The ConnState field has been arranged after the NAME field. The C
(command character) field has been shortened (ARR C 1) to one byte to fit more visible fields
on the display lines. (The ARRANGE command reorders and changes the widths of columns
on the current panel.)
The job class display is invoked with the JC[one_class] command. (In the JC command there
is no spaces allowed between the JC and the one_class parameter.) The job class panel in
Figure 3-12 on page 52 was invoked with the command JCA and shows some of the job class
panel fields for class A.
The title line of the Job Class panel displays the information shown in Example 3-17.
The Spool Volumes panel title line shows the information in Example 3-18 on page 54.
IBM recommends use of OPERLOG on all systems in the sysplex as the only normally active
hardcopy medium. The OPERLOG MDB records contain considerably more information than
either the JES3 DLOG or SYSLOG formats. In addition, with OPERLOG each system writes
its own command and message traffic to the common log, rather than all log activity taking
place on the JES3 global processor, as with DLOG.
Assign the hardcopy medium with the VARY command. Use the HARDCPY operand on the
VARY command to assign SYSLOG or OPERLOG as the hardcopy medium. You can assign
both SYSLOG and OPERLOG as the hardcopy medium by issuing the command separately.
To display information about the hardcopy medium, enter:
DISPLAY CONSOLES,HARDCOPY or D C,HC
Unless you specify otherwise, the system includes all operator and system commands,
responses, and status displays in the hardcopy message set. To request that some
commands and command responses not be included in the hardcopy message set, the
system gives you the following choices on the VARY,HARDCPY command:
NOCMDS - The system does not include operator commands or their responses in the hardcopy
message set.
INCMDS - The system includes all operator commands and their responses, excluding any status
displays, in the hardcopy message set.
STCMDS or CMDS - The system includes all operator and system commands, their responses, and
status displays in the hardcopy message set. As of z/OS V1R8, STCMDS and CMDS are
equivalent.
Action bar Options pull-down choice 18 can also be used to set the Log default.
The FINDLIM command resets the maximum number of lines searched by the FIND
command on the Log, ULOG, and Output Data Set panels. The format of the FINDLIM
command is shown in Example 3-20.
Action bar Options pull-down choice 16 “Operlog limit for filter...“ can be used to limit the
amount of OPERLOG data SDSF will search for records that meet filter criteria.
The first time you access the OPERLOG panel in a session, SDSF positions the data to show
the most recent OPERLOG entries. If you exit the panel and then reaccess it, you must scroll
to the bottom to see the most recent entries.
Figure 3-14 shows an OPERLOG display panel. The COLS command has been used to
display the formatted line for identifying display columns. The RESET command resets the
results of a previous COLS command.
The data on the OPERLOG panel is in the same format as on the SYSLOG panel. It is shown
in Example 3-21.
The / command is used to issue a system command. The format is shown in Example 3-22.
The ACTION command is used to specify which WTORs to display. The format is shown in
Example 3-23.
The BOOK command is used to invoke BookManager. The format is shown in Example 3-24.
The FIND command is used to search for a character string. The format is shown in
Example 3-26.
The LOCATE command is used to find a specific time and date. The format is shown in
Example 3-27.
The NEXT and PREV command control scrolling options. The format is shown in
Example 3-28.
The PRINT command is used to print data. The format is shown in Example 3-29.
The RSYS command is used to limit WTORs by the system. The format is shown in
Example 3-30.
Figure 3-15 shows the column select pop-up for setting filtering criteria on OPERLOG data.
The pop-up choice 1.”Filter” from the action bar’s Filter selection was used to invoke this
menu.
With this new support, JES3 users can now access the SYSLOG as a single entity. Instead of
searching multiple SYSLOG data sets, searching can be performed on a single, logical
SYSLOG data set.
The first time you access the SYSLOG panel in a session, SDSF positions the data to show
the most recent SYSLOG entries. If you exit the panel and then reaccess it, you must scroll to
the bottom to see the most recent entries.
Figure 3-16 is an example of SYSLOG data display before and after the JES3 DLOG is
enabled. ACTION ROUTE CODES=ALL is in effect.
Figure 3-16 SYSLOG (LOG S) display (MVS SYSLOG and JES3 DLOG data)
The MVS format of data description of the SYSLOG panel is shown in Figure 3-17 on
page 62.
The JES3 DLOG format of data on the SYSLOG panel is shown in Figure 3-18.
The MVS format of data on the SYSLOG panel is the same as on the OPERLOG panel. It is
shown in the example in Figure 3-19.
The JES3 DLOG format of data on the SYSLOG panel is shown in Figure 3-20.
with no parameters indicates the SYSLOG panel should display the SYSLOG for the
system the user is logged on to.
? displays the current SYSID setting on the command line, as well as a list of
the members defined in the JESPLEX.
Note: JES3 DLOG activates an extended MCS console to receive messages from the
sysplex systems that are defined to belong to the JES3 complex. The DLOG processing,
on the JES3 global, extracts the messages from the data space, formats them in JES3
DLOG format, and writes them to SYSLOG using a WTL macro service.
The SYSLOG on the global may contain messages from JESPLEX systems that are
IPLed, but do not have an active JES3 primary subsystem.
The DA panel in a JES3 environment requires that RMF Monitor I be started. By default,
Monitor I is started when you start RMF.
The DA panel is invoked with the DA command. The command parameters allow you to limit
the display by:
Types of address spaces: jobs, TSO users, started tasks, or initiators
Positions of address spaces: swapped in, swapped out, in transition, or ready.
Only parameters limit the display to those types or positions. Use only one parameter
from this column.
All parameters show all address spaces, or all types or positions. They cannot be used
with other parameters.
The information displayed may also be limited by your authorization, and by settings for
filters such as FILTER, PREFIX, and SYSNAME.
Note: The DA panel shows information about jobs, TSO users, started tasks, and initiators
that are active in the JESPLEX even if some of the systems are not running JES3 as the
primary job entry subsystem.
JES3 and MVS commands for the action characters on the DA panel
Action JES3 or MVS command
A *F J=jobno,R
C *F J=jobno,CO
CA *F J=jobno,C,ARMR
CD *F J=jobno,C,D
CDA *F J=jobno,C,D,ARMR
CP *F J=jobno,CP
D *I J=jobno
DE *I J=jobno,E
DL *I A,J=jobno
DSD *I J=jobno,SD
DSH *I J=jobno,SH
DSP *I J=jobno,SP
DX *I J=jobno,X
E *R main,jobno
H *F J=jobno,H
K C jobname.identifier,A=asidx
KD C jobname.identifier,DUMP,A=asidx
L *I U,Q=WTR,J=jobno
LB *I U,Q=BDT,J=jobno
LH *I U,Q=HOLD,J=jobno
LT *I U,Q=TCP,J=jobno
P *F J=jobno,C
R RESET jobname,A=asidx
Note: In IBM System z9® and successor mainframes, the System z® Integrated
Information Processor (zIIP) is a special purpose processor, intended to offload certain
DB2® processing from the general mainframe central processors (CPs), and now also
used to offload other z/OS workloads.
The IBM System z Application Assist Processor (zAAP) is a mainframe processor. zAAP
engines are dedicated to running specific Java™ and XML workloads under z/OS,
accelerating performance. zAAPs are available for zSeries® 990 and 890 servers and all
System z9 and System z10™ servers.
If the Action Message Retention Facility (AMRF) is not active, the SR panel shows only reply
messages. The AMRF parameter in the CONSOLxx PARMLIB member INIT statement
specifies whether AMRF is to be active.
Figure 4-2 on page 71 shows an example of the SDSF System Requests panel.
SR command
The format of the SR command is shown in Example 4-4.
ALL displays all reply and action messages. This is the default.
ACTIONS or A displays action messages.
CEM displays critical eventual action messages.
EM displays eventual action messages.
IM displays immediate action messages.
MOUNTS or M displays DASD and tape mount messages. SDSF considers a message to
be a mount if it has tape or DASD pool routing codes.
REPLIES or R or RM displays reply messages.
Title Description
REPLYID Reply ID of the message
SysName Originating system name
JobName Name of the issuing job
Message-Text Message ID and text
JobID JES job ID of the issuing job (JES2) or Proc name or job name (JES3)
Date Date when the message was logged
Time Time when the message was logged
Console Target console
RouteCd First 28 routing codes, in hexadecimal
Desc Descriptor codes, in hexadecimal
Type Message type
Queue Queue the message is on (CEM - critical eventual action, EM - eventual action,
IM - immediate, RM - reply)
A scheduling environment is a list of abstract resource names along with their required states.
If an MVS image satisfies all of the requirements in the scheduling environment associated
with a given unit of work, then that unit of work can be assigned to that MVS image. If any of
the requirements are not satisfied, then that unit of work cannot be assigned to that MVS
image.
The JES3 //*MAIN JECL SYSTEM parameter is specific and static, since it lists system
names. You can use scheduling environments and the SYSTEM parameter together.
Figure 4-3 displays a scheduling environment (SE) panel. The SE panel is invoked with the
SDSF SE primary command. You must be authorized to use the command.
The SE panel displays the same data that is returned by the D WLM,SCHENV=*,SYSTEMS
command IWM036I response message.
Resource, when used as part of a scheduling environment, is an abstract element that can
represent an actual physical entity (such as a peripheral device), or an intangible quality (such
as a certain time of day). A resource is listed in a scheduling environment along with a
Figure 4-4 shows a WLM resource display. The resource panel is invoked with the RES
command. You must be authorized to use the command.
An enclave is a transaction that can span multiple dispatchable units (SRBs and tasks) in one
or more address spaces and is reported on and managed as a unit. A multisystem enclave
can run in multiple address spaces spanning multiple systems within a Parallel Sysplex®.
With all units of work of a job running in the same enclave, WLM can manage all of the work
to a single performance goal.
Multisystem enclaves are displayed as multiple rows. When you act against any of these
rows, SDSF issues the WLM service against the original enclave.
Figure 4-5 on page 75 is a SDSF enclave display. It is invoked with the ENC command. You
must be authorized to use this command.
Note: If you reset a dependent enclave, the owner address space is reset.
Data on the additional information display about the enclave that WLM uses to classify the
enclave:
Subsystem type Type of the subsytem
Subsystem name Name of the subsystem
Priority Priority associated with the subsystem
Userid User ID associated with the request
Transaction name Transaction program name for the request
Transaction class Class name within the subsystem
Netid Network identifier associated with the requester
Logical unit name Local LU name associated with the requester
Subsys collection Subsystem collection name
Process name Process name associated with the request
Plan name Access plan name for the set of associated SQL statements
Package name Package name for the set of associated SQL statements
Connection type Name associated with the environment that is creating the request
Collection name Customer-defined name for the group of associated packages
Correlation Name associated with the user/program creating the request, which may
reside anywhere in the network
Procedure name DB2-stored SQL procedure name associated with the request
Function name Function name
A UNIX process is defined as being an instance of a program running on a system and the
resources that it uses. A process can have one or more threads; a thread is a single flow of
control within a process. Application programmers create multiple threads to structure an
application in independent sections that can run in parallel for more efficient use of system
resources.
In z/OS UNIX, the STARTUP_PROC statement in the BPXPRMxx parmlib member specifies
the cataloged procedure that initializes the kernel. The default name is OMVS.
In the UNIX operating environment, the innermost level of UNIX is the kernel. This is the
actual UNIX operating system, a program that always resides in memory. Sections of the
code in this program are executed on behalf of users to do needed tasks, like access files or
terminals.
BPXOINIT is the started procedure that runs the z/OS UNIX initialization process. BPXOINIT
is also the jobname of the initialization process. At system IPL time, kernel services are
started automatically.
The SDSF PS command invokes the processes panel. The command may be issued on any
SDSF panel. You must be authorized to use this command.
ALL displays all z/OS UNIX System Services processes. This is the default.
ACTIVE displays only active processes.
IBM Health Checker for z/OS is a z/OS component that installations can use to gather
information about their system environment and system parameters to help identify potential
configuration problems before they impact availability or cause outages. Individual products,
z/OS components, or ISV software can provide checks that take advantage of the IBM Health
Checker for z/OS framework.
Figure 4-8 shows the Health Checker panel displayed with the CK command.
The CK command on any SDSF pane invokes the health checker panel display. You must be
authorized to use this command.
You must be authorized to use SDSF from REXX, and to the SDSF functions that you invoke
from REXX. Depending on how your SDSF security is implemented, you may be placed in a
different SDSF user group when you use SDSF from REXX than when you use SDSF
interactively. In some cases, invoking an SDSF function from REXX when you are not
authorized to the function will cause the exec to fail and the invocation of SDSF to end.
REXXHELP command
To display the online help for using REXX with SDSF, type REXXHELP on any command line
in SDSF when using SDSF under ISPF. Figure 5-1 displays the REXXHELP pop-up.
The highlights in the REXX exec are examples of SDSF REXX panel access commands,
action character commands, and some special REXX variables which provide function
equivalent to other SDSF commands.
The output of the command entered with the ISFSLASH SDSF command is recorded in the
ULOG.
ALL drops all special variables except the variables for printing. ALL is
the default.
INPUT or I drops all input special variables.
OUTPUT or O drops all output special variables.
INOUT or IO drops all input/output special variables.
The isfreset() function does not require access to SDSF and so no authorization is required to
use it. ISFRESET is not dependent on ISFCALLS and can be issued at any point in the exec.
However, it is most useful when issued prior to an Address SDSF command.
For a full description of SDSF REXX refer to z/OS SDSF Operation and Customization.
For example, a batch job to invoke program name ISFAFD might use these statements as
shown in Example 5-6.
To change panel width and depth of the batch output, use the PARM='++xxxx,yyyy' parameter
on the EXEC statement, where xxxx is the depth of the panel (number of lines) and yyyy is
the width (number of characters). Example 5-7 shows how to set the depth to 32 and the
width to 1000.
Example 5-7
// EXEC PGM=SDSF,PARM='++32,1000'
//ISFOUT DD SYSOUT=*
//ISFIN DD *
If you do not use the PARM statement, the width defaults to 132 and the depth to 60. The
maximum for width and depth is 9999.
A return code of 0016 when SDSF is invoked in batch indicates that the user could not be
placed in any of the groups defined with ISFPARMS.
For example, to select the ST panel and display its contents, use:
ST
++ALL
When ++ALL is specified, anything else on the card is ignored. To move around on the panel,
you can use scroll commands (RIGHT, LEFT, UP, DOWN, TOP, and BOTTOM).
Any SDSF commands may be used as you would enter it on the command line, following the
syntax described in the online help. The maximum length of a command is 42
characters—only the first 42 characters of each record in ISFIN will be processed. Note that
you cannot use commands that require ISPF, such as commands that display pop-ups.
To use an action character, code ++action-character in your batch job STFIN input. To
prevent a confirmation pop-up from being displayed for destructive action characters, use the
SET CONFIRM OFF command.
You must do a successful FIND prior to issuing an action character. This protects you from
issuing an action character against the wrong row.
To allow for an unsuccessful FIND, you should follow each action character with a RESET
command, which clears pending action characters. For example, to find job BECKER1 on the
ST panel, issue the command FIND ‘BECKER1’.
After a successful FIND, the ++S action invokes a spool data set browse for job BECKER1.
The END command returns the display to the ST panel.
ST
TOP
FIND 'BECKER1'
++S
END
If the ++S action fails, the “panel” title line displays the SDSF message:
:SDSF STATUS DISPLAY ALL CLASSES : NO DISPLAYABLE DATA
Note: You use program name SDSF when you run batch SDSF under a TSO session
and allocate the ISFOUT data set to the terminal. If program ISFAFD is used, the
attribute bytes for the panel fields cause terminal I/O errors. The TSO/E Session
Manager translates the attribute characters to colons (:) which do not cause terminal
I/O errors.
With program name ISFAFD, you can use the SDSF commands as you would with program
name SDSF. In addition, you can also use the AFD commands:
AFD LOCATE - Scrolls the OPERLOG.
AFD LOGSTAMP - Controls the addition of a log stamp prefix for each record in the
OPERLOG or SYSLOG when printing the log with SDSF's PRINT function.
AFD QUERY DS - Displays information about the current data set or log as a message.
AFD QUERY CODEPAGE - Displays the code page that is in use on the message line.
AFD QUERY COLUMNS - Displays information about the columns on the current tabular
panel.
AFD REFRESH - Requests that SDSF refresh the current display.
AFD WTOR - Controls the display of WTORs at the bottom of the Log panel.
AFD NP - Controls the width of the NP column.
AFD .END - Assigns a label, .END, to the current top line of the SYSLOG or OPERLOG.
Note: The syntax for action characters is the same as for program name SDSF. However,
because a successful FIND is not required, the action character will always be issued
against the top row on the panel. To avoid issuing action characters against the wrong row,
you might want to first set filters to be sure that only the appropriate rows are displayed.
You can overtype columns on any tabular panel except OD. The syntax for overtyping
columns on tabular panels is the column title followed by = and the new value, all within <>.
Enclose the column title and value in single quotation marks.
For a more detailed description of the usage of SDSF and ISFAFP programs in batch, refer to
z/OS SDSF Operation and Customization.
Tip: The terminal monitor program (TMP) provides an interface between the user,
command processors, and the TSO/E control program. It obtains commands, gives control
to command processors, and monitors their execution.
JCL for the SDSF program batch execution is shown in Example 5-8.
Sample output from the BATSD Rexx exec is shown in Example 5-10.
The browse action uses the JES3 spool browse interface to allocate the data set. Since ISPF
browse does not support direct spool data set browsing, the data set is copied into a
temporary VIO data set for ISPF browse.
The hold, release, and cancel actions use the ISFSLASH host environment command to
issue the respective JES3 output service command *F,U,J=0,DSN=...D#######,action.
The job zero spool data allocation is done using the JOB0SPBR assembler program. The
program for the spool data set copy to VIO is the JOB0UIVO assembler program.
Appendix A. A sample REXX exec to display JES3 job zero data sets 95
"TBCREATE" TN "NAMES(DSD) NOWRITE REPLACE"
Address "TSO"
return rc
/* ISPF table add a row */
tba:
Address "ISPEXEC"
"TBADD" TN
Address "TSO"
return rc
/* Position table display to top */
tbt:
Address "ISPEXEC"
"TBTOP" TN
Address "TSO"
return rc
/* Display table and process selections */
tbd:
TRC = 0
TOP = 0
CRW = 1
SEL = 0
Address "ISPEXEC"
Do while TRC < 8 /* Table display loop */
If again = 1 then Leave
"TBTOP" TN
"TBSKIP" TN "NUMBER("TOP")"
src = RC
"TBDISPL" TN "PANEL(USRJOB0) POSITION(TBL) CSRROW("CRW")"
TRC = RC
/* Process a selected row */
If SEL ¬= 0 Then do
CRW = TBL
z = selpro()
O = ""
"TBPUT" TN
End
/* Process pending row selections */
Do while ZTDSELS > 1
"TBDISPL" TN "POSITION(TBL)"
MRC = RC
CRW = TBL
z = selpro()
O = ""
"TBPUT" TN
End
if ZCMD = "R" then again = 1 /* Refresh the display */
If TRC = 8 then Leave
End
/* End of table display */
"TBCLOSE" TN
Address "TSO"
return rc
/* Process selection actions; B | S browse, H hold, R release, */
/* C cancel the spool data set */
selpro:
select
when o = "S" | o = "B" then do /* View the spool data */
"CONTROL DISPLAY SAVE"
z = msg("OFF")
Address "TSO" "UNALLOC DD(SYSUT1 SYSUT2)"
Appendix A. A sample REXX exec to display JES3 job zero data sets 97
cvt_128 = d2x( x2d(cvt) + x2d(128) )
jesct = c2x( storage(cvt_128,4) )
jesct_18= d2x( x2d(jesct) + x2d(18))
ssct = c2x( storage(jesct_18,4) )
ssct_d = d2x( x2d(ssct) + x2d(0d) )
ssct_10 = d2x( x2d(ssct) + x2d(10) )
ssvt = c2x( storage(ssct_10,4) )
ssvt_3e4= d2x( x2d(ssvt) + x2d(3e4))
systs = c2x( storage(ssvt_3e4,4) )
if x2d(systs) = 0 then gpfx = "*"
else do
gpfx = ""
wp = systs
systs_3f= d2x( x2d(systs) + x2d(3f))
wp = systs_3f
do i = 0 to 6
wpt = d2x( x2d(wp) + (i*9) )
wpt_1 = d2x( x2d(wpt) + 1 )
z = c2x( storage(wpt,1) )
if x2d(z) = 0 then do
if gpfx = "" then gpfx = "*"
else leave
end
else gpfx = gpfx strip(storage(wpt_1,8),"B")
end
end
return word(gpfx,1)
Appendix A. A sample REXX exec to display JES3 job zero data sets 99
DC H'1'
DC H'1'
DC XL1'08' SHR
SSREQ DC H'92' DALSSREQ
DC H'1'
DC H'4'
JES DC CL4'JES3'
DDN DC H'1' DALDDNAM
DC H'1'
DDNL DC H'8'
DDNT DC CL8'SYSUT1'
RDDN DC H'85' DALRTDNN
DC H'1'
RDDNL DC H'8'
RDDNT DC CL8' '
PERM DC H'82' DALPERMA
DC H'0'
DSOR DC H'60' DALDSORG
DC H'1'
DC H'2'
DC X'4000' Physical sequential (PS)
TUPL DC A(DSN,DISP,SSREQ,DDN,PERM)
DC A(BRTK+X'80000000')
DALRBP DC A(DALRB+X'80000000')
DALRB DC XL(S99RBEND-S99RB)'00'
DALRBX DC XL(S99RBXLN)'00'
SA DC 18F'0'
ED DS 0D
*
PRINT NOGEN
IKJTCB
IAZBTOKP
IEFZB4D0
END JOB0SPBR
Appendix A. A sample REXX exec to display JES3 job zero data sets 101
IF (.MSG = ' ')
&O = ' '
REFRESH(O)
IF (.MSG = ISRZ001)
&O = ' '
&ZCMD = ' '
REFRESH(O,ZCMD)
)PROC
IF (&O = ?)
&ZEDSMSG = ' '
&ZEDLMSG = 'Actions: B | S browse, H hold, R release, C cancel'
.MSG = ISRZ001
IF (&ZCMD = ?)
&ZEDSMSG = ' '
&ZEDLMSG = 'Actions: B | S browse, H hold, R release, C cancel'
.MSG = ISRZ001
&TOP = &ZTDTOP
&SEL = &ZTDSELS
)END
/***************************************************/
/* WHEN Statement - Provide Conditional Processing */
/***************************************************/
/*******************************************************************/
/* Note: The following statements are commented out to show the */
/* syntax. The statements are only needed when the sysplex */
/* support is to be used. */
/* */
/* Refer to the Operation and Customization Guide for the */
/* complete set of options that may be specified. */
/*******************************************************************/
/*********************************************************/
/* SERVERGROUP, SERVER, and COMM - Define Communications */
/*********************************************************/
/********************************************************************/
/* Each SERVER statement defines an SDSF server in the sysplex. */
/* The server in turn relates to a specific JES2 member for which */
/* data is to be gathered. Repeat the SERVER and COMM statements */
/* as many times as necessary to define all the JES2 members for */
/* which data is to be shown. */
/* */
/* Note: All servers must be in the same sysplex and all JES2 */
/* members must be in the same MAS. */
/********************************************************************/
/********************************/
/* CONNECT - Connection Options */
/********************************/
CONNECT DEFAULT(COND) /* Default server if not already assigned */
/* DEFAULT(NO) to not assign server as default */
/* DEFAULT(YES) to unconditionally assign */
/* server as default */
/*******************************************/
/* OPTIONS Statement - Global SDSF Options */
/*******************************************/
/***************************************/
/* GROUP ISFSPROG - System Programmers */
/***************************************/
/*****************************/
/* GROUP ISFOPER - Operators */
/*****************************/
GROUP NAME(ISFOPER), /* Group name */
TSOAUTH(JCL,OPER), /* User must have JCL and OPER */
ACTION(ALL), /* All route codes displayed */
ACTIONBAR(YES), /* Display action bar on panels */
APPC(ON), /* Include APPC sysout */
AUPDT(2), /* Minimum auto update interval */
AUTH(ALLOPER), /* All operator authorized functions */
BROWSE(NONE), /* Browse default action character */
CMDAUTH(ALL), /* Commands allowed for all jobs */
CMDLEV(7), /* Authorized command level */
CONFIRM(ON), /* Enable cancel confirmation */
CPUFMT(LONG), /* Long format CPU utilization on DA */
CTITLE(ASIS), /* Allow mixed case column titles */
CURSOR(ON), /* Leave cursor on last row processed */
/*CUSTOM(OPERPROP),*/ /* Uncomment for custom properties */
DADFLT(IN,OUT,TRANS,STC,TSU,JOB), /* Default rows shown on DA */
DATE(MMDDYYYY), /* Default date format */
DATESEP('/'), /* Default datesep format */
DISPLAY(OFF), /* Do not display current values */
DSPAUTH(USERID,NOTIFY,AMSG), /* Browse authority */
EMCSAUTH(MASTER), /* Activate EMCS cons with master auth */
EMCSREQ(NO), /* EMCS console not required */
GPLEN(2), /* Group prefix length */
ILOGCOL(1), /* Initial display column in log */
ISYS(LOCAL), /* Initial system default */
LANG(ENGLISH), /* Default language */
LOG(OPERACT), /* Default log option */
/*********************************/
/* GROUP ISFUSER - General Users */
/*********************************/
GROUP NAME(ISFUSER), /* Group name */
TSOAUTH(JCL), /* User must have JCL */
ACTION(11,12,USER), /* Default route codes in log */
ACTIONBAR(YES), /* Display action bar on panels */
APPC(ON), /* Include APPC sysout */
AUPDT(10), /* Default auto update interval */
AUTH(ALLUSER), /* All user authorized functions */
BROWSE(NONE), /* Browse default action character */
CMDAUTH(USERID,NOTIFY), /* Command authority */
CMDLEV(2), /* Command level */
CONFIRM(ON), /* Enable cancel confirmation */
CPUFMT(LONG), /* Long format CPU utilization on DA */
CTITLE(ASIS), /* Allow mixed case column titles */
/*CUSTOM(USERPROP),*/ /* Uncomment for custom properties */
CURSOR(ON), /* Leave cursor on last row processed */
DADFLT(IN,OUT,TRANS,STC,TSU,JOB), /* Default rows on DA */
DATE(MMDDYYYY), /* Default date format */
DATESEP('/'), /* Default datesep format */
DISPLAY(OFF), /* Do not display current values */
DSPAUTH(USERID,NOTIFY), /* Browse authority */
EMCSAUTH(MASTER), /* Activate EMCS cons with master auth */
EMCSREQ(NO), /* EMCS console not required */
ILOGCOL(1), /* Initial display column in log */
LANG(ENGLISH), /* Default language */
LOG(OPERACT), /* Default log option */
OWNER(USERID), /* Default owner */
PREFIX(USERID), /* Default prefix */
UPCTAB(TRTAB2), /* Upper case translate table name */
VALTAB(TRTAB), /* Valid character translate table */
VIO(SYSALLDA) /* Unit name for page mode output */
/********************/
/* Sample NTBL list */
/********************/
NTBL NAME(SLIST)
NTBLENT STRING($S),OFFSET(1)
NTBLENT STRING(P),OFFSET(7)
NTBLENT STRING(PAY),OFFSET(3)
/********************************/
/* Define default SDSF Codepage */
/********************************/
TRTAB CODPAG(SDSF) VALTAB(TRTAB) UPCTAB(TRTAB2)
FLDENT COLUMN(STEPN),TITLE('StepName'),WIDTH(D)
FLDENT COLUMN(PROCS),TITLE('ProcStep'),WIDTH(D)
FLDENT COLUMN(JOBID),TITLE('JobID'),WIDTH(D)
FLDENT COLUMN(OWNERID),TITLE('Owner'),WIDTH(D)
FLDENT COLUMN(JCLASS),TITLE('C'),WIDTH(D)
FLDENT COLUMN(ASID),TITLE('ASID'),WIDTH(D)
FLDENT COLUMN(ASIDX),TITLE('ASIDX'),WIDTH(D)
FLDENT COLUMN(EXCP),TITLE(' EXCP-Cnt'),WIDTH(D)
FLDENT COLUMN(CPU),TITLE(' CPU-Time'),WIDTH(D)
FLDENT COLUMN(REAL),TITLE('Real'),WIDTH(D)
FLDENT COLUMN(PAGING),TITLE('Paging'),WIDTH(D)
FLDENT COLUMN(EXCPRT),TITLE(' SIO'),WIDTH(D)
FLDENT COLUMN(CPUPR),TITLE(' CPU%'),WIDTH(D)
FLDENT COLUMN(DP),TITLE('DP'),WIDTH(D)
FLDENT COLUMN(POS),TITLE('Pos'),WIDTH(D)
FLDENT COLUMN(SWAPR),TITLE('SR'),WIDTH(D)
FLDENT COLUMN(PGN),TITLE('PGN'),WIDTH(D)
FLDENT COLUMN(DOMAIN),TITLE('DmN'),WIDTH(D)
FLDENT COLUMN(STATUS),TITLE('Status'),WIDTH(D)
FLDENT COLUMN(WORKLOAD),TITLE('Workload'),WIDTH(D)
FLDENT COLUMN(SRVCLASS),TITLE('SrvClass'),WIDTH(D)
FLDENT COLUMN(PERIOD),TITLE('SP'),WIDTH(D)
FLDENT COLUMN(RESGROUP),TITLE('ResGroup'),WIDTH(D)
FLDENT COLUMN(SERVER),TITLE('Server'),WIDTH(D)
FLDENT COLUMN(QUIESCE),TITLE('Quiesce'),WIDTH(D)
FLDENT COLUMN(SYSNAME),TITLE('SysName'),WIDTH(D)
FLDENT COLUMN(SPAGING),TITLE('SPag'),WIDTH(D)
FLDENT COLUMN(SCPU),TITLE('SCPU%'),WIDTH(D)
FLDENT COLUMN(ECPU),TITLE(' ECPU-Time'),WIDTH(D)
FLDENT COLUMN(ECPUPR),TITLE(' ECPU%'),WIDTH(D)
FLDENT COLUMN(CPUCRIT),TITLE('CPUCrit'),WIDTH(D)
FLDENT COLUMN(STORCRIT),TITLE('StorCrit'),WIDTH(D)
FLDENT COLUMN(RPTCLASS),TITLE('RptClass'),WIDTH(D)
FLDENT COLUMN(MEMLIMIT),TITLE('MemLimit'),WIDTH(D)
FLDENT COLUMN(TRANACT),TITLE('Tran-Act'),WIDTH(D)
FLDENT COLUMN(TRANRES),TITLE('Tran-Res'),WIDTH(D)
FLDENT COLUMN(SPIN),TITLE('Spin'),WIDTH(D)
FLDENT COLUMN(SECLABEL),TITLE('SecLabel'),WIDTH(D)
FLDENT COLUMN(GCPTIME),TITLE('GCP-Time') WIDTH(D)
FLDENT COLUMN(ZAAPTIME),TITLE('zAAP-Time') WIDTH(D)
FLDENT COLUMN(ZAAPCPTM),TITLE('zACP-Time') WIDTH(D)
FLDENT COLUMN(GCPUSE),TITLE('GCP-Use%') WIDTH(D)
FLDENT COLUMN(ZAAPUSE),TITLE('zAAP-Use%') WIDTH(D)
FLDENT COLUMN(SZAAP),TITLE('SzAAP%') WIDTH(D)
FLDENT COLUMN(SZIIP),TITLE('SzIIP%') WIDTH(D)
FLDENT COLUMN(PROMOTED),TITLE('Promoted') WIDTH(D)
FLDENT COLUMN(ZIIPTIME),TITLE('zIIP-Time') WIDTH(D)
FLDENT COLUMN(ZIIPCPTM),TITLE('zICP-Time') WIDTH(D)
/*********************/
/* Custom Properties */
/*********************/
The publications listed in this section are considered particularly suitable for a more detailed
discussion of the topics covered in this paper.
IBM Redbooks
For information about ordering these publications, see “How to get Redbooks” on page 111.
Note that some of the documents referenced here may be available in softcopy only.
Implementing REXX Support in SDSF, SG24-7419-00
Other publications
These publications are also relevant as further information sources:
z/OS SDSF Operation and Customization, SA22-7670
Online resources
These Web sites are also relevant as further information sources:
SDSF home page: usage tips, presentations, as well as a wizard to help you enable the
sysplex support at:
http://www.ibm.com/servers/eserver/zseries/zos/sdsf
Latest edition of the z/OS SDSF Operation and Customization, SA22-7670 which is
available at the following URLs:
http://publibz.boulder.ibm.com/epubs/pdf/isf4cs90.pdf
http://www.ibm.com/servers/eserver/zseries/zos/bkserv/
H R
Health Checker (CK) panel 79 Redbooks Web site 111
Health Checker panel fields 80 Contact us viii
Health Checker panel NP field actions 80 Resource (RES) panel 73
Help panel overview 10 Resource group profiles 32
Resource panel fields 74
Resource panel NP field actions 74
I REXX SDSF commands 85
Input queue panel 37 REXX SDSF special variables 87
Input queue panel fields 37 REXXHELP command 84
ISFACT host environment command 86
ISFEXEC host command 85
ISFPARMS 22 S
ISFPARMS AUTH parameter 32 SAF authorization 31
ISFPARMS FLD and FLDENT statement 24 Sample SDSF REXX exec 85
ISFPARMS statements 23 Scheduling Environment (SE) panel 72
T
Tabular panel alternate view 37
REDP-4531-00