System Commands
System Commands
SA22-7627-13
z/OS
SA22-7627-13
Note
Before using this information and the product it supports, be sure to read the general information under Notices on page
B-1.
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Contents v
Deleting Retained Action Messages . . . . . . . . . . . . . . . 4-60
Halting the Printing or the Display of a Status Display . . . . . . . . . 4-62
Controlling Displays in Areas . . . . . . . . . . . . . . . . . . 4-62
Removing Information From the Screen . . . . . . . . . . . . . . 4-64
Activating, Deactivating, or Displaying the Status of the Action Message
Retention Facility . . . . . . . . . . . . . . . . . . . . . 4-65
Changing or Displaying the Number of Allowed WTL SYSLOG Buffers 4-66
Changing or Displaying the Number of Allowed WTO and WTOR Message
Buffers . . . . . . . . . . . . . . . . . . . . . . . . . 4-66
Changing the Time the System Waits for ROUTE Command Responses 4-67
Increasing the Maximum Number of Reply IDs . . . . . . . . . . . 4-68
Changing or Displaying the Status of WTO Installation Exit IEAVMXIT 4-69
Displaying the SMCS APPLID of the current system and VTAM generic
resource name for SMCS . . . . . . . . . . . . . . . . . . 4-70
Setting the APPLID of the System . . . . . . . . . . . . . . . . 4-70
Setting or Turning Off the VTAM Generic Resource Name for SMCS 4-71
Changing a PFK Definition . . . . . . . . . . . . . . . . . . . 4-72
Deleting Message Queues . . . . . . . . . . . . . . . . . . . 4-74
Changing or Displaying Message Deletion and Format Specifications 4-74
Changing or Displaying Time Intervals for Dynamic Displays . . . . . . 4-78
Changing the Operating Mode of a Console . . . . . . . . . . . . 4-79
Selecting the Message Levels for a Console . . . . . . . . . . . . 4-80
DEVSERV Command . . . . . . . . . . . . . . . . . . . . . . 4-82
Using the DEVSERV QDASD option . . . . . . . . . . . . . . . 4-83
Using the DEVSERV QTAPE option . . . . . . . . . . . . . . . 4-83
| Using the DEVSERV QLIB option . . . . . . . . . . . . . . . . 4-83
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-84
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-84
DISPLAY Command . . . . . . . . . . . . . . . . . . . . . . 4-99
Scope in a Sysplex . . . . . . . . . . . . . . . . . . . . . 4-101
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-102
Displaying APPC/MVS Information . . . . . . . . . . . . . . . 4-102
Displaying ASCH Configuration Information . . . . . . . . . . . . 4-108
Displaying Page Data Set Information . . . . . . . . . . . . . . 4-110
| Displaying the current system level Language Environment run-time
| options . . . . . . . . . . . . . . . . . . . . . . . . . 4-112
Displaying CONTROL Command Functions . . . . . . . . . . . . 4-112
Displaying Attached Coupling Facility Information . . . . . . . . . . 4-113
Displaying Console Group Definitions . . . . . . . . . . . . . . 4-113
Displaying Console Status Information . . . . . . . . . . . . . . 4-114
Displaying DIAG Parmlib Information . . . . . . . . . . . . . . . 4-118
Displaying Data Lookaside Facility Information . . . . . . . . . . . 4-119
Displaying Dump Options or Dump Data Set Status . . . . . . . . . 4-121
Displaying Extended MCS Information . . . . . . . . . . . . . . 4-125
Displaying the Timer Synchronization Mode and ETR Ports . . . . . . 4-129
Displaying Global Resource Serialization Information . . . . . . . . . 4-130
Displaying TSO/E Parmlib Information . . . . . . . . . . . . . . 4-141
Displaying I/O Configuration Information . . . . . . . . . . . . . 4-142
| Displaying Captured UCB Information . . . . . . . . . . . . . . 4-142
Displaying Dynamic Channel Path Management Information . . . . . . 4-143
| Displaying FICON Switch Data Information . . . . . . . . . . . . 4-143
Displaying IOS Group Information . . . . . . . . . . . . . . . . 4-144
| Displaying MIDAW Facility Status . . . . . . . . . . . . . . . . 4-144
Displaying MIH and I/O Timing Limits . . . . . . . . . . . . . . 4-144
| Displaying IOS Storage Residency Information . . . . . . . . . . . 4-148
Displaying the Devices Stopped by the IOACTION Command . . . . . 4-148
Contents vii
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-293
LOGOFF Command . . . . . . . . . . . . . . . . . . . . . . 4-294
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-294
LOGON Command . . . . . . . . . . . . . . . . . . . . . . 4-295
Scope in a Sysplex . . . . . . . . . . . . . . . . . . . . . 4-295
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-295
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-295
MODE Command . . . . . . . . . . . . . . . . . . . . . . . 4-297
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-297
Controlling the Recording of Hard Machine Check Interruptions . . . . . 4-298
Controlling the Recording of System Recovery and Degradation Machine
Check Interruptions . . . . . . . . . . . . . . . . . . . . 4-301
Displaying Recording and Monitoring Status . . . . . . . . . . . . 4-302
MODIFY Command . . . . . . . . . . . . . . . . . . . . . . 4-303
Summary of MODIFY . . . . . . . . . . . . . . . . . . . . 4-303
Using Asterisks in MODIFY Commands . . . . . . . . . . . . . 4-304
MODIFY Command Syntax . . . . . . . . . . . . . . . . . . 4-305
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-305
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-306
Passing Information to a z/OS UNIX System Services Application . . . . 4-307
Modifying TSO/VTAM Time Sharing . . . . . . . . . . . . . . . 4-308
Controlling z/OS UNIX System Services (z/OS UNIX) . . . . . . . . 4-308
Communicating with the Catalog Address Space . . . . . . . . . . 4-315
Changing the DLF Processing Mode . . . . . . . . . . . . . . . 4-324
Changing the DLF parameters . . . . . . . . . . . . . . . . . 4-324
Displaying DLF Status . . . . . . . . . . . . . . . . . . . . 4-325
Building and Replacing Library Lookaside Directories . . . . . . . . 4-325
Operating with the Network File System Server . . . . . . . . . . . 4-326
Collecting Problem Information for the Network File System Server 4-328
Managing the Object Access Method (OAM) . . . . . . . . . . . . 4-329
Recycling z/OS UNIX System Services (z/OS UNIX) . . . . . . . . . 4-329
| Dynamically activating maintenance for z/OS UNIX System Services
| (z/OS UNIX) . . . . . . . . . . . . . . . . . . . . . . . 4-331
Stopping a Temporary File System (TFS) . . . . . . . . . . . . . 4-332
| Enabling and Disabling the Application Response Measurement (ARM)
| Agent and Enterprise Workload Manager (EWLM) platform services . . 4-332
Changing Workload Manager Resource States . . . . . . . . . . . 4-333
Specifying Data Set Selection Criteria for an External Writer . . . . . . 4-334
Causing an External Writer to Pause . . . . . . . . . . . . . . 4-336
MONITOR Command . . . . . . . . . . . . . . . . . . . . . 4-338
Scope in a Sysplex . . . . . . . . . . . . . . . . . . . . . 4-338
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-338
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-338
MOUNT Command . . . . . . . . . . . . . . . . . . . . . . 4-340
Scope in a Sysplex . . . . . . . . . . . . . . . . . . . . . 4-340
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-340
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-340
Tape Library Dataserver Considerations . . . . . . . . . . . . . 4-341
MSGRT Command . . . . . . . . . . . . . . . . . . . . . . 4-342
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-342
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-342
Stopping Message Routing . . . . . . . . . . . . . . . . . . 4-344
PAGEADD Command . . . . . . . . . . . . . . . . . . . . . 4-345
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-346
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-346
PAGEDEL Command . . . . . . . . . . . . . . . . . . . . . 4-347
Contents ix
SETGRS Command . . . . . . . . . . . . . . . . . . . . . . 4-404
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-404
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-404
SETIOS Command . . . . . . . . . . . . . . . . . . . . . . 4-406
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-406
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-407
SETLOAD Command . . . . . . . . . . . . . . . . . . . . . 4-412
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-412
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-412
| SETLOGR Command . . . . . . . . . . . . . . . . . . . . . 4-414
| Scope in a Sysplex . . . . . . . . . . . . . . . . . . . . . 4-414
| Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-414
| SETLOGR FORCE Command . . . . . . . . . . . . . . . . . 4-414
SETLOGRC Command . . . . . . . . . . . . . . . . . . . . 4-417
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-417
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-417
SETOMVS Command . . . . . . . . . . . . . . . . . . . . . 4-419
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-419
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-420
SETPROG Command . . . . . . . . . . . . . . . . . . . . . 4-431
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-431
Updating the APF List . . . . . . . . . . . . . . . . . . . . 4-431
Updating Dynamic Exits . . . . . . . . . . . . . . . . . . . 4-433
Updating LNKLST Concatenations . . . . . . . . . . . . . . . 4-436
Managing Dynamic LPA Content . . . . . . . . . . . . . . . . 4-441
SETRRS CANCEL Command . . . . . . . . . . . . . . . . . . 4-444
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-444
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-444
SETSMF Command . . . . . . . . . . . . . . . . . . . . . . 4-445
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-445
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-445
SETSMS Command . . . . . . . . . . . . . . . . . . . . . . 4-446
Scope in a Sysplex . . . . . . . . . . . . . . . . . . . . . 4-447
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-447
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-448
SETSSI Command . . . . . . . . . . . . . . . . . . . . . . 4-459
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-459
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-459
| SETUNI Command . . . . . . . . . . . . . . . . . . . . . . 4-462
| Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-462
| Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-462
SETXCF Command . . . . . . . . . . . . . . . . . . . . . . 4-468
Scope in a Sysplex . . . . . . . . . . . . . . . . . . . . . 4-468
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-468
SETXCF COUPLE Command . . . . . . . . . . . . . . . . . 4-468
SETXCF FORCE Command . . . . . . . . . . . . . . . . . . 4-472
SETXCF MODIFY Command . . . . . . . . . . . . . . . . . 4-474
SETXCF PRSMPOLICY Command . . . . . . . . . . . . . . . 4-476
SETXCF START Command . . . . . . . . . . . . . . . . . . 4-477
SETXCF STOP Command . . . . . . . . . . . . . . . . . . 4-485
SLIP Command . . . . . . . . . . . . . . . . . . . . . . . 4-490
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-490
Using SLIP Commands . . . . . . . . . . . . . . . . . . . 4-490
Processing of SLIP Commands . . . . . . . . . . . . . . . . 4-491
Coding SLIP Command Parameters . . . . . . . . . . . . . . . 4-492
Setting a SLIP Trap . . . . . . . . . . . . . . . . . . . . . 4-497
Contents xi
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-602
Controlling Problem Determination Mode for the System Console . . . . 4-602
Controlling MCS and SMCS Consoles . . . . . . . . . . . . . . 4-605
Changing the Master Console . . . . . . . . . . . . . . . . . 4-613
Controlling Hardcopy Processing . . . . . . . . . . . . . . . . 4-614
Placing a Secondary Console Online or Offline . . . . . . . . . . . 4-617
Defining a Tape Device as Automatically Switchable . . . . . . . . . 4-618
Placing an I/O Device or a Range of I/O Devices Online or Offline 4-619
Controlling a Global Resource Serialization Complex . . . . . . . . . 4-623
Placing an I/O Path or Paths Online or Offline . . . . . . . . . . . 4-625
Changing the state of coupling facility cache structures and volumes 4-627
Placing an Optical Drive or Library Online or Offline . . . . . . . . . 4-630
Placing a System-Managed Tape Library Online or Offline . . . . . . . 4-630
Analyzing the State of the PDSE Subsystem . . . . . . . . . . . . 4-630
Releasing PDSE Latches . . . . . . . . . . . . . . . . . . . 4-630
| Modifying processing of PDSE monitor . . . . . . . . . . . . . . 4-631
| Display current state of the PDSE monitor . . . . . . . . . . . . 4-631
Changing the SMS Status of a Storage Group or Volume . . . . . . . 4-631
Controlling DFSMStvs processing . . . . . . . . . . . . . . . . 4-634
Controlling CICSVR processing . . . . . . . . . . . . . . . . 4-643
Placing a Switch Port Online or Offline . . . . . . . . . . . . . . 4-643
Controlling an Application Environment . . . . . . . . . . . . . . 4-645
Activating a Service Policy . . . . . . . . . . . . . . . . . . 4-647
Removing a System from the XCF Sysplex . . . . . . . . . . . . 4-649
WRITELOG Command . . . . . . . . . . . . . . . . . . . . . 4-651
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . 4-651
Parameters . . . . . . . . . . . . . . . . . . . . . . . . 4-651
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . B-3
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1
http://www.s390.ibm.com:80/bookmgr-cgi/bookmgr.cmd/BOOKS/ZIDOCMST/CCONTENTS
You can use LookAt from these locations to find IBM message explanations for
z/OS elements and features, z/VM, VSE/ESA, and Clusters for AIX and
Linux:
v The Internet. You can access IBM message explanations directly from the LookAt
Web site at http://www.ibm.com/servers/eserver/zseries/zos/bkserv/lookat/.
v Your z/OS TSO/E host system. You can install code on your z/OS or z/OS.e
systems to access IBM message explanations using LookAt from a TSO/E
command line (for example: TSO/E prompt, ISPF, or z/OS UNIX System
Services).
v Your Microsoft Windows workstation. You can install LookAt directly from the
z/OS Collection (SK3T-4269) or the z/OS and Software Products DVD Collection
(SK3T-4271) and use it from the resulting Windows graphical user interface
(GUI). The command prompt (also known as the DOS > command line) version
can still be used from the directory in which you install the Windows version of
LookAt.
v Your wireless handheld device. You can use the LookAt Mobile Edition from
http://www.ibm.com/servers/eserver/zseries/zos/bkserv/lookat/lookatm.html with a
handheld device that has wireless access and an Internet browser (for example:
Internet Explorer for Pocket PCs, Blazer or Eudora for Palm OS, or Opera for
Linux handheld devices).
You can obtain code to install LookAt on your host system or Microsoft Windows
workstation from:
v A CD-ROM in the z/OS Collection (SK3T-4269).
v The z/OS and Software Products DVD Collection (SK3T-4271).
v The LookAt Web site (click Download and then select the platform, release,
collection, and location that suit your needs). More information is available in the
LOOKAT.ME files available during the download process.
For additional information about checks and about IBM Health Checker for z/OS,
see IBM Health Checker for z/OS: Users Guide. z/OS V1R4, V1R5, and V1R6
users can obtain the IBM Health Checker for z/OS from the z/OS Downloads page
at http://www.ibm.com/servers/eserver/zseries/zos/downloads/.
SDSF also provides functions to simplify the management of checks. See z/OS
SDSF Operation and Customization for additional information.
New information:
v Displaying MIDAW Facility Status on page 4-144 contains information about a
new parameter MIDAW on the DISPLAY IOS command.
v SETIOS Command on page 4-406 contains a new parameter, MIDAW.
This document has been enabled for the following types of advanced searches in
the online z/OS Library Center: commands, examples, tasks, concepts, reference,
parmlib members.
You may notice changes in the style and structure of some content in this
documentfor example, headings that use uppercase for the first letter of initial
words only, and procedures that have a different look and format. The changes are
ongoing improvements to the consistency and retrievability of information in our
documents.
Summary of changes
for SA22-7627-12
z/OS Version 1 Release 7
New information:
v Displaying z/OS UNIX System Services Status on page 4-174 contains
information about a new parameter ACTIVATE=SERVICE on the DISPLAY OMVS
command.
v Displaying Operator Information (OPDATA) on page 4-190 contains a new
parameter, MONITOR.
v Recycling z/OS UNIX System Services (z/OS UNIX) on page 4-329 contains
information about new parameters ACTIVATE=SERVICE and
DEACTIVATE=SERVICE on the MODIFY OMVS command.
v SETAPPC Command on page 4-392 is a new command to dynamically modify
or define the APPC/MVS configuration.
v SETCON Command on page 4-399 contains a new parameter, MONITOR.
v TRACE Command on page 4-587 contains a new parameter.
v SETLOGR Command on page 4-414 is a new command to control MVS logger
resources.
Changed information:
v SLIP Command on page 4-490 contains changed parameter information.
v Many commands no longer support the command response routing externals
L=cc, L=cca, and CN=cc. This change aligns with the requirement that two-digit
console ID values are no longer allowed.
v Displaying z/OS UNIX System Services Status on page 4-174 contains
information about new output for the DISPLAY OMVS,O command. See
Example 6 on page 4-180.
v You cannot issue the following commands on systems at z/OS V1R7 and above:
CONTROL D,H
CONTROL D,U
CONTROL T,REF
CONTROL T,UTME=nnn
MSGRT TR=
TRACK
STOPTR
v References to OpenEdition have been replaced with z/OS UNIX System Services
or z/OS UNIX.
Deleted information:
v The START DFSMSPKG command is no longer supported and its corresponding
information is deleted from this edition.
Summary of changes
SA22-7627-11
z/OS Version 1 Release 6
as updated March 2005
New information
v The DISPLAY WLM,AM command displays whether the EWLM ARM services are
{ENABLED|DISABLED. See Displaying Workload Manager Information on page
4-240 for more information.
v The MODIFY WLM,AM command enables or disables Application Response
Measurement (ARM) services and Enterprise Workload Manager (EWLM)
platform services. See Enabling and Disabling the Application Response
Measurement (ARM) Agent and Enterprise Workload Manager (EWLM) platform
services on page 4-332 for more information.
Summary of changes
for SA22-7627-10
z/OS Version 1 Release 6
New information
v CHNGDUMP Command on page 4-25 contains a new parameter
ABDUMP,TIMEENQ=yyyy.
v MODIFY Command on page 4-303 contains a new parameter WLM.
v SET Command on page 4-378 contains new parameters TIMEZONE and IOS.
v SETIOS Command on page 4-406 contains a new parameter
FICON,STATS=YES|NO.
v SETSMS Command on page 4-446 contains a new parameter DSSTIMEOUT.
Summary of changes
for SA22-7627-09
z/OS Version 1 Release 5
Changed information
v The SETGRS Command on page 4-404 command contains a new default for
the SYNCHRES parameter.
Starting with z/OS V1R3, WLM compatibility mode is no longer available. This
affects the descriptions of the following system commands: DISPLAY DMN,
DISPLAY OMVS, MODIFY WLM, RESET, SET, SETDMN, and SETOMVS.
Summary of changes
for SA22-7627-07
z/OS Version 1 Release 4
as updated December 2003
New information
v The SETCON command added to activate functions pertaining to the console
environment and the Console ID Tracking facility.
v The DISPLAY OPDATA,TRACKING parameter added to display the status of the
Console ID Tracking facility.
v The SET CNIDTR=xx parameter added to specify the exclusion list used by the
Console ID Tracking facility.
v The VARY CN,AUTOACT= parameter added to enable the system console to
automatically receive messages when no other consoles are available.
Summary of changes
for SA22-7627-06
z/OS Version 1 Release 4
as updated October 2003
New information
v New information added for the DCM=OFFLINE option on the VARY SWITCH
command to support the z/OS z990 exploitation support.
Summary of changes
for SA22-7627-05
z/OS Version 1 Release 4
as updated June 2003
New information
v Information is added in support of DFSMStvs. The following commands are
updated: DISPLAY, SET SMS, SETSMS, VARY.
Summary of changes
for SA22-7627-04
z/OS Version 1 Release 4
New information
v Information is added to indicate this document supports z/OS.e.
v Text has been added for the VARY CN and VARY CONSOLE commands
indicating the need for UPDATE authority in their corresponding profiles. See
VARY Command on page 4-600.
v Two new parameters, AUTHPGMLIST and AUTOMOVE, have been added for
the SETOMVS command. See SETOMVS Command on page 4-419.
Changed information
v The procedure for loading the system software has been updated to use the
Hardware Management Console. See Loading the System Software on page
1-3.
v The description of how a started task is assigned a job name has been clarified
for the START, CANCEL, MODIFY and STOP commands.
v Two new command classes are added for improved control of command flooding:
class C3 for ROUTE and class M3 for SEND. Both new classes have the same
maximum of 50 commands executing per class, however, SEND and ROUTE do
not impact other commands classes in execution. See CMDS Command on
page 4-44.
System planners and system programmers should refer to the z/OS MVS Planning:
Operations for information on planning:
v System and sysplex operation management
v MCS consoles
v SMCS consoles
v Extended MCS consoles
This chapter describes how to operate an MVS system using MVS system
commands. Subsystem (JES2 or JES3) commands can perform many of the same
functions as MVS system commands but are described in z/OS JES2 Commands
and z/OS JES3 Commands.
The tasks of operating the MVS system that are described in this chapter include:
v Starting, Loading, and Initializing the System on page 1-2
v Controlling the System on page 1-9
v Controlling Time-Sharing on page 1-21
v Controlling Jobs on page 1-22
v Controlling Started Tasks on page 1-24
v Controlling System Information Recording on page 1-25
v Controlling Automatic Tape Switching on page 1-27
v Interacting with System Functions on page 1-30
v Responding to Failing Devices on page 1-37
v Quiescing the System on page 1-38
v Stopping the System on page 1-38
The following sections describe in detail how to start, load, and initialize the system.
If your installation uses MCS consoles, then you may use two separate consoles to
initialize the system. The first device is the system console, which is connected to
the processor controller. From this console, you load the system software and
specify the LOAD parameter. Later, during normal operations, this console is used
to monitor and service the hardware.
The second device is called the NIP (nucleus initialization program) console. In
HCD, you can specify a list of device numbers to use as NIP consoles. The
initialization programs use the first online and ready device in the list. NIP consoles
must be devices that are locally connected to the system using control units that do
not support systems network architecture (SNA) protocols. This means that SMCS
consoles cannot be used as NIP consoles. If that device is also specified on a
CONSOLE statement in CONSOLxx, it is initialized as an MCS console and
appears to change to an MCS console when console initialization is complete. If
no NIP consoles are defined, or no NIP consoles are online when MVS is loaded,
MVS tries to use the system console during initialization.
For more information on these procedures, see the processor operators guide or
your installations operations procedures.
| Load (except for a coupling facility image) causes a program to be read from a
| designated device and initiates the execution of that program. If the CPC is
| operating in logically partitioned (LPAR) mode, the logical partition is the target of
| the load. Otherwise, if the CPC is operating in basic mode, the CPC is the target of
| the load.
| Once the system hardware is ready, you can use the system console to load the
| system software. Load the system as follows, using the following fields on the
| system control (SYSCTL) frame. (This example uses the IBM 3090 for illustration.)
| 1. T=TARGET CP: Specifies the target processor for initialization.
| 2. A=INITIALIZE SYSTEM CONTROL PROGRAM, A1: Specifies the device
| number that contains the system residence volume (IPL volume).
| 3. A=INITIALIZE SYSTEM CONTROL PROGRAM, A2: Specifies the LOAD
| parameter. For more information, see Explanation of the A=INITIALIZE
| SYSTEM CONTROL PROGRAM, A2 Field on page 1-4.
| Selecting the operator load function causes the hardware to read an IPL (initial
| program loader) program into storage from the system residence volume. For this
| reason, loading and initializing the system is often called the IPL procedure or just
| IPL. Likewise, IPLing the system means loading and initializing the system.
| The IPL program is what actually loads the system software; if the IPL program
| does not get into storage or does not receive control properly, the entire load
| process stops and the processor pauses. If the IPL program does not finish
| properly, it puts the system into a disabled wait state with an error code in the
| low-order 12 bits of the program status word (PSW). To continue loading the
| system, display the PSW, note the error code, and follow the instructions for that
| code given in z/OS MVS System Codes. The processor operations manual tells you
| how to display the PSW.
Your installation can specify the LOGON attribute for MCS and SMCS consoles in
two ways. First, a default LOGON attribute can be specified for all consoles active
on a system by specifying the LOGON keyword on the DEFAULT statement in the
CONSOLxx parmlib member. Second, individual consoles can override the default
LOGON attribute by specifying the LOGON keyword on the CONSOLE statement in
the CONSOLxx parmlib member. For more information on specifying LOGON
consult z/OS MVS Planning: Operations and z/OS MVS Initialization and Tuning
Reference.
Once RACF is fully initialized, all operators are required to logon. The message
IEE187I prompts you for a userid and password. Optionally, you might enter a
group id and a security label. See LOGON Command on page 4-295 for more
information.
Your RACF administrator creates RACF user profiles for each operator. Each
operator can have access to different commands, consoles, data sets, and other
RACF-protected resources, according to the persons responsibilities. The RACF
administrator also creates RACF resource profiles that protect all operator
commands. If you need more information on creating profiles for operators,
consoles, MVS commands, and other resources, see the z/OS Security Server
RACF Security Administrators Guide.
z/OS MVS Planning: Operations has more information about controlling system
commands and consoles in a secure environment.
In certain situations, the system prompts you to specify an alternate master catalog;
then it prompts for system parameters that are not specified in LOADxx. The
following two sections explain how to respond to those prompts.
You must respond to this message. You can respond with specific system
parameters, such as
REPLY 00,CLPA,SYSP=83,LNK=(04,05,PQ),SYSNAME=AQ
For details about parmlib members, see z/OS MVS Initialization and Tuning
Reference.
Note that the system sets the local time but not the local date from the time and
date you specify. To set the local date, reply as follows:
R 00,DATE=1991.302
If the new GMT and local time values are still not accurate enough, you can reply
with new GMT time values now (and as many times as you need) to bring the
systems values closer to what your installation requires. When you are satisfied
with the systems values, reply as follows:
R 00,U
If you enter the command DISPLAY C,K (or D C,K), the system displays a summary
of the CONTROL commands. You can use these commands to change the
characteristics of the console. See Displaying CONTROL Command Functions on
page 4-112 for information about the DISPLAY C,K command.
MVS provides system and subsystem commands that display job and system status
either when requested or continually at a regular interval. Other commands route
status information to one or more consoles and provide communication among
operators in a multiple-console environment, as well as communication with
time-sharing users. Many commands let you display information about all the
systems in a sysplex, and some commands allow you to control any target system
in the sysplex.
To help you keep up with the systems needs, you can enter the DISPLAY R
command to display system requests waiting for replies or actions, mount requests
not yet fulfilled, and devices waiting for operator intervention. You can use the
information in the display to take any necessary actions. See Displaying System
Requests on page 4-201 for information about the DISPLAY R command.
Using the MONITOR command, you can keep track of jobs starting and stopping. In
response to the MONITOR command, the system displays the job identification
whenever a job starts or stops. Using this command, you can also request that the
system notify you of TSO logons, JCL failures, and data set allocations. See
| MONITOR Command on page 4-338. You can also use the SETCON MONITOR
| command to enable or disable monitoring messages for jobs, TSO/E sessions, and
| data set allocations. See SETCON Command on page 4-399.
The DISPLAY U command allows you to keep track of the availability for allocation
of the following devices attached to the system:
v Channel-to-channel (CTC) links
v Direct access storage devices (DASDs)
v Graphic devices
v Magnetic tape units
v Communication equipment
v Unit record devices
This command displays device status and the job names and ASIDs of device
users. Knowing what jobs and ASIDs are using a particular device allows you to
determine whether you can take the device offline. See Displaying Device Status
and Allocation on page 4-236 for information about the DISPLAY U command.
The DISPLAY M command allows you to keep track of the availability of channel
paths and devices on these paths. See Displaying System Configuration
Information on page 4-166 for information about the DISPLAY M command.
Using the SEND command, you can communicate with operators of other consoles
in your system, and you can send messages to remote terminals. See SEND
Command on page 4-371.
You can use the ROUTE command to send commands to be processed on other
systems in the sysplex. See ROUTE Command on page 4-363.
You can use the VARY CN command to specify from what systems in a sysplex a
specified console receives unsolicited messages. Use the MSCOPE, AMSCOPE,
and DMSCOPE parameters for purposes of control. See VARY CN command on
page 4-605.
Some commands have an L=name parameter. You can use this parameter to
specify the name of a console on a different system in the sysplex. These
commands can communicate with the named console and receive messages from
that system.
Note that a command can have sysplex scope when you use particular parameters,
and not have sysplex scope when you use other parameters.
Commands that have sysplex scope are so noted in the documentation for that
command, and include those in the following table. If a command has All under
Conditions, then the command has sysplex scope under all circumstances and for
all variations.
Table 1-2. MVS System Commands With Sysplex Scope
Command Conditions
CHNGDUMP Has sysplex scope only when all systems are connected to
the same coupling facilities, and you specify
,SDUMP,SYSFAIL,STRLIST=.
CONTROL C,A All
CONTROL C,D Has sysplex scope only when you specify L=.
CONTROL M Has sysplex scope only when you do not specify MLIM,
UEXIT, LOGLIM, or APPLID.
CONTROL other Other parameters of CONTROL have sysplex scope only
when you specify L=.
DISPLAY CF Has sysplex scope only when displaying information about
the coupling facility and only for those systems connected to
the coupling facility. Does not have sysplex scope when
displaying an individual systems coupling facility
configuration information (coupling facility channels and
paths).
DISPLAY CNGRP All
DISPLAY CONSOLES Has sysplex scope unless you specify DISPLAY C,B or
DISPLAY C,U.
DISPLAY DUMP Has sysplex scope only when you issue the OPTIONS
parameter to display the results of a CHNGDUMP
...SDUMP,SYSFAIL,STRLIST= command.
DISPLAY EMCS Has sysplex scope, except when you specify STATUS=B or
STATUS=ERR. When you specify STATUS=FULL, consoles
from all systems will be displayed (for consoles that are not
active on the system where this command is processed,
some information will not be displayed).
DISPLAY GRS Has sysplex scope unless you specify SUSPEND. Also,
note the following about DISPLAY GRS,C and DISPLAY
GRS,RES: the output generated by these commands
includes both system-specific information (S=SYSTEM) and
sysplex information (S=SYSTEMS). The S=SYSTEM
information is valid only for the system on which you issue
the command. The S=SYSTEMS information is identical
regardless of the system on which you issue the command.
To use system symbols in system commands, first see the section that describes
system symbols in z/OS MVS Initialization and Tuning Reference to understand the
types of system symbols, the elements that comprise them, and the general rules
for using them. Second, see the section on sharing system commands in z/OS
MVS Planning: Operations for information about planning to share commands. Then
read the rest of this section.
Display Static System Symbols: You can enter the DISPLAY SYMBOLS
command to display the static system symbols and associated substitution texts
that are in effect for a system. See Displaying Static System Symbols on page
4-232 for more information.
Know the Rules for Using System Symbols: The system enforces the following
rules when you use system symbols in system commands. They apply in addition to
the general rules for system symbols that are described in z/OS MVS Initialization
and Tuning Reference.
1. Substitution in a command begins after the command name. This means that
you cannot use symbolic variables to resolve to a command prefix or to a
command name. The command &Asyspref &mycmd would result in an error
message, for example.
2. If the issuing console has command association (CMDSYS) to another system,
the issuing system first transports the command to the associated system.
Substitution of any symbolic variables takes place on the receiving system.
3. If a command has a prefix defined with the command prefix facility (CPF), the
issuing system first transports the command to the system defined for that
prefix. Substitution of any symbolic variables takes place on the receiving
system.
4. After echoing and logging a command, the system examines the command
name. Certain commands receive special treatment:
v The system will not perform substitution for symbolics in a VARY
CN(*),ACTIVATE command.
v A DUMPDS command will not undergo substitution. The DUMPDS command
processor handles its own substitutions, at the time when it actually takes a
dump.
v For security reasons, the LOGON command does not support symbolic
substitution.
v For a REPLY command, substitution of any symbolic variables in the reply
text takes place on the system originally issuing the WTOR.
However, if the WTOR is synchronous (SYNCH = YES was specified, and the
synchronous WTO/R service displays the WTOR), the system does not
perform substitution of the reply text.
But, if the system issues the WTOR early during the initial program load
(IPL), that is, while the nucleus initialization program (NIP) is still in use:
The system performs substitution after it processes the requested
symbolics it reads from the parmlib. This means that the system will
the system issuing that ROUTE command will substitute the variables
&T1 and &SYSGRP1
and each system in the system group that &SYSGRP1 names will issue the
command
F JOB&SYSCLONE,parms
and each of those receiving systems will substitute its own value for
&SYSCLONE. See Using System Symbols in ROUTE Commands.
v You cannot use symbolic variables on an L= operand to aggregate the
command response when sending a command to more than one system. The
system will not substitute for the L= operand.
v For commands other than REPLY and ROUTE, the system issuing the
command performs the substitution for the text after the command name,
including comments.
5. You cannot use system symbols in commands that control batch jobs. Consider
converting batch jobs to started tasks, which can specify system symbols.
6. If substitution results in changing any command text, the system logs the new
text again and issues message IEE295I.
The system makes the original (pre-substitution) command text available to the
command installation exits and the subsystem interface (SSI). However, current
programs, if not modified, will see the substituted text.
When the system calls the command installation exits or SSI, if those exits
make any change to the command text, the system logs them again and issues
message IEE295I. However, it does not perform substitution again. It frees the
original command text, which means that it is no longer available in the system.
Cautions in Using System Symbols: The preceding rules mean that some forms
of command input will probably not produce the results you want:
1. Symbolic variables before or in a command name remain unsubstituted. The
system will process the command with the &variable; in the text, and probably
generate a COMMAND INVALID error message.
2. If a command exit changes the text and adds a new symbolic variable, the
system executes the command before substituting for the variable.
3. The following considerations apply when a command affects systems other than
the one issuing it:
v Except for REPLY, the substitution will reflect the issuing system. For
example, if
SYSVAR1 = (1,2)
Determine Where to Use System Symbols: System symbols offer the greatest
advantage when two or more systems require different resources. This section
provides examples of how to specify system symbols when naming resources in
system commands.
Data Sets:
Assume that you want to display, on all systems in a sysplex, the local page data
sets that fit the following naming convention:
SY&SYSCLONE..PAGE.LOCAL
Instead of entering a different command to display the unique page data sets on
each system, you could enter the following command to display all the data sets
that fit the naming convention:
ROUTE *ALL,D ASM,PAGE=SY&SYSCLONE..PAGE.LOCAL
When each system processes the command, it substitutes the text that it has
defined for the &SYSCLONE system symbol. For example, if a sysplex consists of
two systems named SYS1 and SYS2, accepting the default value for &SYSCLONE
produces the following data sets:
D ASM,PAGE=SYS1.PAGE.LOCAL on system SYS1
D ASM,PAGE=SYS2.PAGE.LOCAL on system SYS2
Jobs:
When specifying system symbols in the source JCL for job names, first determine if
the jobs run as batch jobs or started tasks. If a job is a started task, you can specify
system symbols in the source JCL. If a job runs in batch, you cannot specify
system symbols in the source JCL; consider changing the job to run as a started
task.
Then, if a started task is to have multiple instances, determine if you want the
started task to have a different name for each instance. If each instance of a task
has a different name, your installation can easily identify the system on which each
instance runs.
In some SLIP command parameters, you can use more than one type of wildcard.
For example:
v A?C* matches ABC or AXCYZ or A5CZ2
v A*C? matches ABCD or AZZZZC1 or A123CZ or ACD
You can use wild cards to reduce the number of system commands needed for a
task. For example, you can enter one command to display information about all jobs
and started tasks beginning with the characters XYZ:
DISPLAY A,XYZ*
If the system does not recover as a result of your restart actions, follow your
installations procedures for recording system problems. When you have recorded
the system information, consult with your system programmer before taking further
action.
Responding To IEA502A
Reply reason code 0 when you suspect that a unit of work is causing a wait state
that is not valid or a disabled loop and you cannot terminate the suspected unit of
work by using the CANCEL or FORCE commands.
1. The system displays message IEA500A and waits for operator response.
IEA500A supplies information about the unit of work in progress.
2. Reply ABEND to abnormally terminate the interrupted program and invoke the
necessary recovery routines if the information describes the unit of work you
suspect has a problem.
3. Reply RESUME to end further restart processing and allow the interrupted work
to continue if the information does not describe the unit of work that you suspect
has a problem.
Repeat this process of invoking restart with REASON 0 until you interrupt the work
you suspect. Only then should you reply ABEND to abnormally terminate the
current work.
Note: The system terminates the work in progress without displaying any
information about it if you request the restart function with REASON 0:
v On a processor that cannot communicate with the master console or its
first designated alternate
v When the master console and its first designated alternate are not display
consoles
Note: Using reason code 1 might cause the system to immediately terminate
some address spaces. Use reason code 1 only under the direction of a
system programmer.
Normally, the system notifies you of anything it diagnoses or repairs when you
request the restart function with reason code 1. You only get this information on a
processor that can communicate with the master console or its first designated
alternate.
Responding To BLW004A
The system displays message BLW004A and waits for operator response.
BLW004A supplies information about the unit of work in progress.
1. Reply ABEND to abnormally terminate the interrupted program and invoke the
necessary recovery routines if the information describes the unit of work you
suspect has a problem.
Repeat this process of invoking restart procedure replying to BLW004A until you
interrupt the work that has the problem.
2. Reply RESUME to end further restart processing and allow the interrupted work
to continue if the message indicates that there are no batch jobs or time-sharing
users.
3. Reply RESUME to end further restart processing and allow the interrupted work
to continue if the message indicates that the WTO buffer limit has been
exceeded.
4. Reply REPAIR if you suspect a system problem that is not related to the work
currently in progress. The system diagnoses and repairs some problems that
might be causing the abnormal behavior.
Note: Replying REPAIR might cause the system to immediately terminate some
address spaces. Reply REPAIR only at the direction of the system
programmer.
Important
Beginning with z/OS V1R3, WLM compatibility mode is no longer available.
Accordingly, the information below that pertains specifically to WLM
compatibility mode is no longer valid. It has been left here for reference
purposes, and for use on backlevel systems.
You can also activate a workload management service policy by using the online
ISPF administrative application. Refer to z/OS MVS Planning: Workload
Management for more information or see your service administrator.
This command activates the named service policy on all systems in the sysplex,
regardless of the workload management mode in effect. However, only systems
operating in workload management goal mode will manage towards that service
policy. If there is an active service policy on a system running in compatibility mode,
and you use the MODIFY command to switch that system into goal mode, workload
management uses the service policy you activated.
For complete information on how to use the VARY command to activate a workload
management service policy, see Activating a Service Policy on page 4-647.
Important
Beginning with z/OS V1R3, WLM compatibility mode is no longer available.
Accordingly, you can no longer switch from one mode to another, as described
below. The information has been left here for reference purposes, and for use
on backlevel systems.
You can use the MODIFY WLM command to switch the workload management
mode in effect on a system. This command switches the mode of the system where
you issue the command.
Before switching into goal mode on any system in the sysplex, your service
definition should be complete and installed in the workload management couple
data set, and a service policy should have been activated.
For complete information on how to use the VARY command to activate a workload
management service policy, see Activating a Service Policy on page 4-647.
Controlling Time-Sharing
Time-sharing allows programmers at remote terminals to develop, test, and execute
programs without the turnaround delays that occur when they submit jobs to a
computer center. With time-sharing, a large number of jobs can share the resources
of a system concurrently, and remote terminal users can exercise primary control
over the execution of their jobs. Therefore, we can define time-sharing as the
shared, conversational, and concurrent use of a computing system by a number of
users at remote terminals.
Time-sharing in z/OS is provided by TSO/E. For more information about TSO/E see
z/OS TSO/E Users Guide.
You can display information about logged-on time-sharing users by using the
DISPLAY command. You can keep track of terminal users logging on and off the
system by using the MONITOR command. In response to the MONITOR command,
To communicate with time-sharing users you can use the SEND command to:
v Send messages to specific users or all users who are receiving messages
v Send messages to specific users or to all users logging on to the system
v Save messages in the broadcast data set
v List messages in the broadcast data set
v Delete messages from the broadcast data set
The broadcast data set, SYS1.BRODCAST, has mail and notices sections.
Controlling Jobs
A job is the basic unit of work for the system. Job control language (JCL) identifies
a job to an operating system and describes the jobs resource requirements. The
JOB JCL statement identifies a jobs beginning and contains such information as:
v Job name
v Job account number
v Job class
v Job priority.
Using job-related commands, you can start, stop, or cancel a job. You can also
modify a jobs parameters and performance group and restart a job that has failed.
There are two kinds of jobs in the system: queued jobs and jobs that are selected
on demand. Queued jobs are managed by JES. Jobs that are selected on demand
(referred to as demand-selected) are created as the result of START, MOUNT, and
LOGON commands.
Starting a Job
Using the START command, you can start jobs from the console. You can also use
the START command to cause the JES internal reader facility to read a job from a
tape or direct access volume.
Stopping a Job
Using the STOP command, you can stop a job if the programmer has coded a stop
routine in the program.
Cancelling a Job
Using the CANCEL and FORCE commands, you can cancel a job that is executing.
If the job is not currently executing, use a subsystem command to cancel it.
Restarting a Job
Once a job is executing, it might end abnormally because of a hardware,
programming, or system error. This might happen any time during program
For JES2 jobs and JES3 jobs, the checkpoint/restart feature of the system allows a
job that ends abnormally to restart either at the beginning of a job step or at a
checkpoint within the current step. The programmer submitting the job provides for
an automatic restart or a deferred restart.
Automatic Restart
If the programmer submitting the job has provided for an automatic restart and the
job ends abnormally, you receive the following system message:
* id IEF225D SHOULD jobname.stepname.procedure checkid RESTART
This message allows you to prevent repeated restarts at the same checkpoint or job
step.
When this message appears, use the REPLY command to respond YES, HOLD, or
NO, as follows:
v Reply YES if the restart is to be performed at a specific checkpoint or job step for
the first time. (If it is a job step restart and the step to be restarted used a card
input data set that was not part of the SYSIN stream, you must return to the
appropriate hoppers all cards read by the job step before it ended abnormally. If
it is a checkpoint restart, follow the programmers instructions for replacing the
input cards.)
v Reply HOLD if you want to defer the restart: for example, to permit another job to
run first. You must issue the appropriate subsystem command when you are
ready to restart the job. Also, if you want, you can cancel the job. However,
cancelling the job can cause unrecoverable paging space or the failure of certain
data sets to be deleted if the job was using virtual I/O.
v Reply NO if a restart at a specific checkpoint or job step has been requested
repeatedly. When your reply is NO, and the programmer wants a restart to be
performed, he must resubmit the job for a deferred restart.
Note: Any operator commands in the input stream of the job step being restarted
are not executed.
Deferred Restart
If the programmer submitting the job has provided for a deferred restart and the job
ends abnormally, the programmer must resubmit the job for the deferred restart. To
restart the job, the programmer must provide a restart deck for submission to the
system through the system input reader. The JCL statements to be included in the
restart deck are described in detail in z/OS MVS JCL Users Guide.
If you change the device configuration of your system after a job ends abnormally,
restart the job carefully. For example, enough devices must be available to satisfy
the needs of the job step being restarted. The system under which a step restart is
If the required storage is not available, the system cancels the restart and you
receive the following message:
IEF209I VIRTUAL STORAGE UNAVAILABLE FOR jobname.stepname.procedure
Required storage might not be available for one of the following reasons:
v The link pack area expands into the required storage. This expansion can occur
if an IPL has been performed between the original execution of the job and the
restart. If it does occur, contact your system programmer for a respecification of
the system parameters and reIPL using the new values.
v The system storage area expands into the required storage. When this
expansion occurs, contact your system programmer for a respecification of the
SQA and CSA system parameter and reIPL using the new values.
When a job restarts correctly, you receive two messages: IEF006I JOB
RESTARTING and IEF008I JOB RESTARTED. If, for V=R jobs, these messages do
not appear, enter DISPLAY A,L to see if a system task or other job is using the
required storage. You can then stop or cancel the conflicting job. The system might
ask you to mount data volumes other than those required at the beginning of the
job. In addition, any card input data sets that have been used by the failing job step
must again be made available to the system.
Both the START command and the ASCRE macro create an address space. A
START command and an ASCRE macro started via a START command each will
look for a program that has a procedure in SYS1.PROCLIB; that program will be
the first to run in the ASCRE-created address space. Essentially, using ASCRE is
similar to a started task.
The system also records information in the system log and/or the operations log.
See z/OS MVS Planning: Operations for more information.
In addition to these facilities, JES2 and JES3 have their own event trace facilities.
These trace facilities are described in detail in z/OS JES2 Commands and z/OS
JES3 Commands.
When the active recording data set becomes full, SMF automatically switches
recording from the active SMF data set to an empty secondary SMF data set,
passes control to the SMF dump exit, IEFU29, and issues a message to indicate
Error Recovery
If an I/O error occurs while SMF is writing to one of the SMF data sets, you receive
a message and SMF switches to one of the empty secondary data sets.
To prepare an SMF data set for dumping before it becomes full, the operator
normally uses the SWITCH SMF command to switch from the current data set to
another data set. For the switch to be successful, there must be an inactive data
set that is empty. Therefore, use the DISPLAY SMF command to verify that there is
at least one alternate data set before issuing the SWITCH or HALT command.
The HALT EOD command also prepares an SMF data set for dumping, but use it
only when you intend to quiesce the system in preparation to shut down. Do not
use HALT when you intend to keep the system running. HALT EOD will close the
system log and stop SMF recording.
Restarting SMF
Because SMF runs in its own address space, you can restart SMF with the SET
SMF command. When you enter that command, this message appears:
IEE980I SMF IS BEING RESTARTED
When the restart is complete and recording starts, the following message appears:
IEE360I SMF NOW RECORDING ON SYS1.MANx
If the SET SMF command abends while updating the SMF parameters, it might be
necessary to terminate the SMF address space and restart SMF. If the system
programmer determines that it is necessary to terminate the address space, issue:
FORCE SMF,ARM
To restart SMF after the SMF address space terminates, issue the SET SMF
command again, specifying a SMFPRMxx parmlib member containing different
parameters.
System Trace
System trace is a part of the operating system that records, for diagnostic purposes,
events that occur during system initialization and operation. To record events,
system trace provides three types of tracing: address space, branch, and explicit
tracing. System trace can be used between subsystem initialization and the start of
the generalized trace facility (GTF). For information on controlling system trace, see
TRACE Command on page 4-587.
Master Trace
Master trace is a diagnostic aid that maintains a trace table of console messages in
virtual storage. When master trace is active, the master trace table is embedded in
dumps that have the TRT option or contain the master schedulers private address
space. Master trace can eliminate the need to submit a portion of the system log to
IBM if there are problems in message processing. It also can ensure that the
messages accompanying a dump are the ones that correspond to the problem. The
TRACE command controls master trace. For a more detailed description of master
trace, see z/OS MVS Diagnosis: Tools and Service Aids.
Component Trace
Component trace is a diagnostic aid that system programmers can use to trace the
action of certain system components. Component trace enables the programmer to
use the TRACE command to start and stop component trace. The components that
use the component trace command must first invoke the define component trace
service and define the name of the component requesting the service and the name
of the start/stop routine that will get control when the TRACE operator command is
issued.
Use the records in the logrec data set or the logrec log stream as a companion to
dump data. The information in the records will point the system programmer in the
right direction while supplying symptom data about the failure.
For more information about log streams, see z/OS MVS Programming: Assembler
Services Guide. For more information about initializing a logrec data set or setting
up a logrec log stream, see z/OS MVS Diagnosis: Tools and Service Aids.
The following section describes the coexistence behavior when some systems are
at z/OS R2 (with the appropriate PTFs) or higher and are using ATS STAR to
manage autoswitchable devices and other systems are at a level lower than z/OS
R2 and are using the IEFAUTOS coupling facility structure for autoswitchable
device management. Throughout this section, the term participating systems refers
| to systems using the same tape sharing method. The term nonparticipating
| system refers either to systems that use tape sharing methods (IEFAUTOS vs. ATS
| STAR) that are different from the participating systems , or systems that have
| devices dedicated (that is, not defined as autoswitchable).
The AUTOSWITCH definition lasts for the duration of the IPL. Only if the device has
been defined through HCD does the definition persist longer than the duration of
the IPL. If HCD turns the attribute on, and the VARY AS command turns the
attribute off, the attribute will be on again at the next reIPL.
The ESCON manager and the IEEVARYD programmable interface can also set the
AUTOSWITCH attribute on and off.
If a device is offline to the issuing system, the display shows OFFLINE in the
status field and the display provides no other information about the device.
- d u,,as
IEE343I 15.09.07 UNIT STATUS 990
UNIT TYPE STATUS SYSTEM JOBNAME ASID VOLSER VOLSTATE
AUTOSWITCH STATUS UNAVAILABLE - ALLOCATION COUPLING
FACILITY STRUCTURE NOT AVAILABLE
If you want to find out the status of a device that is assigned to a nonparticipating
system, issue the DISPLAY U,,, command on each system that could have varied
the device online, including the participating systems.
Device Allocation
Device allocation is the assignment of input/output devices and volumes to job
steps. Requests for device allocation come from data definition (DD) statements
and dynamic device allocation requests.
Data definition (DD) statements can be entered into the system by:
v Job input to the JES reader
v Jobs submitted through the TSO SUBMIT command
v Started tasks
While performing device allocations, the system might ask you to:
v Mount or dismount volumes
v Make decisions (for example, to bring a device online immediately or to wait)
To control the amount of work you have to do related to device allocation, you might
want to restrict device allocation requests.
To control device allocation requests from data definition (DD) statements, you
might restrict each of the forms of input for these statements (for example, by
holding the reader, or by setting a maximum LOGON count). Because they originate
within executing programs, however, you cannot control dynamic device
allocation/unallocation requests.
Device Assignment
Operationally, the assignment of devices is influenced by:
v The online/offline status of the device. Generally, to be allocated to job steps,
devices must be online. Exceptions are (1) when the online test executive
program (OLTEP) or a similar testing program is running and (2) when
teleprocessing devices are allocated. You can bring offline devices online with the
VARY command or in response to the allocation recovery message, IEF238D.
v The MOUNT attribute. The MOUNT attribute, which applies only to tape or DASD
devices, is influenced by the MOUNT and UNLOAD system commands, and,
during initialization, by entries in the VATLSTxx parmlib member. Allocation
requests that can be satisfied by mounted devices are processed quickly and
without your intervention.
v The USE attribute. A parameter of the MOUNT command, the USE attribute
affects the type of data sets that can be allocated on a tape or DASD volume.
The USE attribute can also be set during initialization by entries in the VATLSTxx
member of parmlib. Having a proper mix of volumes with various USE attributes
reduces the amount of volume mounting.
The information from data definition (DD) statements determines the input/output
resources to assign to a job or job step and the volumes that are required. If a
requested volume is not mounted, the system issues a mount message asking you
to mount a specific volume or scratch volume. If you mount the wrong volume, the
system finds out as soon as it reads the volume label. The system unloads the
volume and repeats the mount message.
When you know that several jobs are going to need a volume, use the MOUNT
command to reserve that volume on a device. Allocation processing is faster when
the required volume is reserved rather than removable. The system does not
demount volumes reserved by a MOUNT command until you issue an UNLOAD
command.
Note: Do not use the MOUNT command for devices managed by JES3. See z/OS
JES3 Commands.
When you take action, try to solve the problem at the lowest possible level. That is,
try to correct the problem at the device first and then at the control unit. You could
power the device off and on. If that does not help, you could reset the control unit if
Whatever action you take, tell the system what you are doing by responding to the
prompting message or restartable wait state. Use LookAt (see Using LookAt to
look up message explanations on page xviii) or use the MVS System Messages
books for information about IOS messages, and z/OS MVS System Codes for a
detailed explanation of the restartable wait states and your response to them.
Device Boxing
In certain error recovery situations and in response to certain commands, the MVS
system can box an I/O device. Once a device enters a boxed state, the system:
v Immediately terminates I/O in progress on the device
v Rejects future I/O requests (by a user or by the system) to the device as
permanent I/O errors
v Rejects any attempts to allocate the device
v Puts the device in pending-offline status
Command Flooding
| Starting with APAR OW45398, commands that run in the *MASTER* or CONSOLE
| address space are divided into six command classes. In each class, only 50
commands can execute at one time. Any additional commands in that class must
wait for execution.
Class M1 Commands
Class M1 commands are commands that are attached in the *MASTER* address
space, and are considered essential to clearing a backlog of other commands:
v DISPLAY GRS
v DISPLAY MPF
v DISPLAY SLIP
v DISPLAY XCF
v DUMP
v DUMPDS
v QUIESCE
v SET
v SETXCF
v SLIP
v VARY XCF
Class M2 Commands
Class M2 commands are ordinary attached commands that run in the *MASTER*
address space:
v ACTIVATE
v CONFIG
v DEVSERV
v DISPLAY APPC
v DISPLAY ASCH
v DISPLAY ASM
| v DISPLAY CEE
v DISPLAY CF
v DISPLAY CNGRP
v DISPLAY DLF
v DISPLAY DUMP
v DISPLAY ETR
v DISPLAY IOS
v DISPLAY IPLINFO
v DISPLAY LLA
v DISPLAY LOGGER
v DISPLAY LOGREC
v DISPLAY MATRIX
v DISPLAY MMS
v DISPLAY OMVS
v DISPLAY PARMLIB
Class C1 Commands
Class C1 commands are those that are attached in the CONSOLE address space,
and are considered essential to clearing a backlog of other commands:
v DISPLAY CONSOLES
v DISPLAY EMCS
v DISPLAY R
v LOGOFF
v LOGON (MCS)
v REPLY
v VARY CN
v VARY CONSOLE
Class C2 Commands
Class C2 commands are ordinary attached commands that run in the CONSOLE
address space:
v CHNGDUMP
v CONTROL M
v DISPLAY A
v DISPLAY C,K
v DISPLAY JOBS
v DISPLAY OPDATA
v DISPLAY PFK
v DISPLAY TS
v RESET CN
v SETCON
v SWITCH CN
| Class C3 Commands
| Class C3 commands are ordinary attached commands that run in the CONSOLE
| address space. These commands can take a long time to execute, thus they
| require a different command class than Class C2:
| v ROUTE
Inline Commands
Inline commands are not attached, but execute under the SVC 34 issuers task.
These are not subject to the limits, and cannot be displayed, removed, or canceled,
using the CMDS command:
v CANCEL
v CMDS
v CONTROL (except K M)
v DISPLAY NET
Using the SWAP command, you can also turn on or off system-initiated swapping
requests. When DDR is on, the system dynamically performs the swapping function
whenever the originally-allocated device encounters device errors. DDR tells you to
mount the volume on another available device. When the swapping function is
turned off, you can invoke operator-initiated DDR by issuing the SWAP command
and specifying the from and to device numbers. (See the SWAP command in
Chapter 4.)
When swapping tape devices, the from and to devices should have the same
density whenever possible. Swapping devices of unlike but compatible densities (for
example, 1600 and 1600/6250) can cause the failure of jobs that are in device
allocation at the time of the swap.
On JES3 systems, DDR interfaces with JES3 to ensure that the to device has not
been assigned to another job or function. When the swap is complete, DDR notifies
JES3.
Do not issue a SYSTEM RESET after quiescing the system if you intend to issue a
RESTART after the quiesce. Issuing a SYSTEM RESET will cause the system to
enter an enabled wait state.
Chapter 2 describes the physical characteristics and techniques for operating the
various consoles that MVS supports as operators consoles. It describes the
characteristics and operations that you cannot control, including those operations
that are common to all operators consoles.
You can use a device as a multiple console support (MCS) if the device number for
the console on a CONSOLE statement, in the CONSOLxx parmlib member, is the
same as the device number specified in the IODF. If you use MVSCP, the device
number specified for each console in CONSOLxx the CONSOLE
DEVNUM(devnum) statement must correspond to a device number specified on
an IODEVICE statement. SMCS consoles are also defined in CONSOLxx, but are
not specified in HCD.
Multiple-Console Configuration
You can divide the functions and message traffic of the system among a number of
consoles. These consoles make up a multiple-console configuration controlled
and serviced by MCS.
The master console is your principal means of communicating with the system. The
master console, along with any console with master console authority allows you to:
v Enter all operator commands
v Change the definition of the hardcopy message set or assign the hardcopy
medium
v Switch to a new master console
Other MCS and SMCS consoles are used for specific types of operator-system
communication when it is more convenient to have a console located away from the
processor. An MCS or SMCS console might, for example, be located close to tape
or disk drives or remote teleprocessing devices to make it easier for the operator in
that area to see which magnetic tapes or disk packs to mount. An MCS or SMCS
console without master authority cannot enter all commands (see System
Commands Grouped According to System Command Authority on page 3-5), and
can receive only those messages that are specifically routed to that console.
Your installation might further limit how you can use a console by assigning an
operating use that prevents the console from accepting commands.
The different console modes help limit the number of consoles that operators can
use to issue commands, and yet provide operators the information that they need to
do their work.
At IPL, the system looks to the CONSOLxx member of parmlib to find which
console is the master console, and what the operating modes of the consoles are. It
also looks for other attributes, such as:
v System command groups the categories of commands that the system
accepts from that console
v Message routing codes the messages the console receives, determined by
routing code
v Message levels the messages the console receives, determined by message
level
v Alternate console groups the backup consoles assigned in case of a
malfunction or a console switch
A display console can also have some or all of the following features:
Selector Pen
Audible Alarm
An audible alarm is available on display consoles. The system sounds this alarm
when certain changes in conditions occur, such as when you enter an invalid
CONTROL command. WTO macros with descriptor codes of 1, 2, or 11, and all
WTOR macros will cause the audible alarm to sound on operator consoles
so-equipped.
The program function keyboard is an input device that is available on some display
consoles. You can define each key on the program function keyboard to enter one
or more operator commands; you can enter a command or a group of commands
by pressing one key.
Extended Highlighting
Color
Four or more colors are available on some devices, with certain colors identifying
certain kinds of messages that require action.
Intensity
Message Area
This area contains system and problem program messages and copies of certain
operator commands. The size of the message area depends on the console.
Display Areas
These areas contain formatted, multiple-line displays of information about some part
of the system. The displays are written to the console in response to certain
commands, such as the DISPLAY command. The default on consoles in
full-capability mode is one display area, the default on consoles in status display
mode is two display areas. For consoles operating in full-capability mode, unless a
status display is requested, the display area is used for general messages.
This line contains a display of program function key (PFK) numbers that you use
when entering commands with the selector pen. This line is available on a 3277
model 2.
Instruction Line
This line contains console control messages. For example, if you make an error
entering a CONTROL command, an error message appears in the instruction line.
Entry Area
This area contains one or two lines that you use to enter commands and reply to
messages.
Warning Line
This line warns you of conditions that could require action. For example, a warning
message appears in this line when the message area is full and one or more
messages are waiting to appear. The warning line is not available on output-only
consoles in status display operating mode.
This line, the bottom-most line on the screen, is separated from the rest of the
screen by a horizontal line. The operator information area, which is not controlled
by MCS or SMCS, contains messages and symbols that keep you informed of the
operational status of the terminal. It is not available on some terminals.
Figure 2-1 shows the screens on consoles in the three different operating modes.
You can change the display areas on the consoles in full-capability mode and status
display mode. The screen on the console in message stream mode always appears
as in the figure.
L= Operand
Commands that manage consoles and console traffic use the L= operand to modify
the screen area. For example, use the L= operand to delete messages or to delete
lines from the screen area.
Commands that direct output use the L= operand to direct the output to an
out-of-line area that is defined to the console. If there is no out-of-line area defined
to the console, or if the area ID specified is z, the message is displayed inline.
For more information on the syntax and use of the L= operand for specific
commands, see the description of the specific command in this book.
Messages sent to your consoles can appear in one of the following formats:
f message
or
To add any combination of job identification, system name, and time stamp to all
console messages, see Controlling the Format of Messages on page 3-15. For
more information about console messages, use LookAt (see Using LookAt to look
up message explanations on page xviii) or use the MVS System Messages books.
To perform the CANCEL action, on a 3278 or 3279 display console, hold down
the ALT key and press the PA2 key. On all other display consoles, press the
CANCEL (PA2) key.
To perform a CURSOR DETECT action, position the cursor under the desired
character and press the ENTER key.
You have the option of entering one command or several commands. When you
wish to enter more than one command, use the MVS command delimiter. The MVS
command delimiter is defined during system initialization. When the MVS command
delimiter has not been defined during system initialization, you cannot enter more
than one command at a time.
Each time you press the PA1 key, you see a command that you entered previously.
The maximum number of times you can press the PA1 key to see previous
commands is specified by your installation with the RBUF option on the CONSOLxx
parmlib member. If you exceed this maximum, you see the same commands again.
To correct any of these errors, use the procedures described under Changing
Information in the Entry Area on page 2-13.
| If your system programmer does not define and activate a PFK table for your PFKs,
| IBM supplies default definitions in sample IEESPFK.
Summary of the PFK Definitions for the Cluster later in this chapter shows the
complete output of the DISPLAY PFK,TABLE=nnnnnnnn command.
Example 1
To display the commands associated with the PFKs on the console on which you
issue the command, enter:
DISPLAY PFK
The definitions for each key appear under the headings; nnnnnnnn identifies the
console on which the command is issued.
If no PFKs are defined for the console named CON04, the following message
appears in the message area instead:
IEE235I hh:mm:ss PFK DISPLAY
NO PFK DEFINITIONS FOR CON04
Example 2
In response to this command, a message such as the following might appear in the
message area:
IEE235I hh:mm:ss PFK DISPLAY
PFK DEFINITIONS FOR CON04 TABLE - MASTCMDS IN PFKTABJC
where the PFK table in effect for console 4 is MASTCMDS in the PFKTABJC
parmlib member.
The definition for each key appears under the headings. If, however, no PFKs are
defined for the console, the following message appears:
IEE235I hh:mm:ss PFK DISPLAY
NO PFK DEFINITIONS FOR CONSOLE 04
Altering a command in the entry area works only for the command entry in
progress; the system retains the original definition for future use of the PFK. To
redefine a PFK, use the procedures described in Chapter 3 under Defining
Commands Using the CONTROL Command.
Example
To request a display in the PFK display line (this line is located immediately above
the instruction line), enter:
CONTROL D,PFK
In response to this command, a display similar to the following appears in the PFK
display line:
1 2 3 4 5 6 7 8 9 10 11 12
Only those numbers that have been designated for PFK command entry appear in
the display. Once you have requested this display, you can leave it on the screen;
the PFK display line is not used for any other purpose, even when the key numbers
are not displayed. To erase the display, enter:
CONTROL E,PFK
On a 3277 model 2, the selector pen can be used with the PFK display line to enter
commands. The numbers appearing in the display line represent PFK numbers, and
selecting a number with the selector pen has the same effect as pressing a PFK.
To select commands on the 3277 model 2 in conversational mode, follow the same
three steps. The system does not automatically enter the command; rather, the first
command associated with the PFK number appears in the entry area. To enter the
command, follow the steps described in the next section.
Pressing the PA1 key displays a command that you entered previously. When you
see that command, you can make corrections or changes (as described in this
section) and press the Enter key to issue the command.
Substituting Characters
If you make a mistake when typing in the entry area move the cursor to the first
character you want to change and type the correct characters.
Example
and then note (before performing the enter action) that you have typed the word
DISPLAY incorrectly, you can move the cursor under the L, and type PL. The reply
then reads:
R 22,DISPLAY REQUESTED
In the same example, if you decide that the correct response is NO, moving the
cursor under the D in DISPLAY and typing NO leaves the following in the entry
area:
R 22,NOPLAY REQUESTED
To correct this situation, move the cursor under the P and press the ERASE EOF
key. This key erases the remainder of the entry area (from the cursor to the last
character position), leaving the following in the entry area:
R 22,NO_
| Example
Move the cursor back to the C, press the INS MODE key, type in 10, and press the
RESET key. The command then reads:
DISPLAY JOBS,L=CONSOLE10C
Note that the characters to the right of the inserted characters shift to make room
for the inserted characters. If required, characters shift to the second line of the
entry area.
Deleting Characters
To delete a character, position the cursor at the character to be deleted and press
the DEL key.
All characters that follow the deleted one shift to the left to fill the space formerly
occupied by the deleted character. Delete one character at a time.
| Example
Position the cursor at either S and press the DEL key. The command then reads:
DISPLAY JOBS,L=CONSOLEC
To remove all of the data that you have typed in the entry area without causing it to
be passed to the system, press the ERASE INPUT key. This key erases the entry
area and moves the cursor to the first position in the entry area.
Note: Do not use the ERASE INPUT key on the 3279 models 2A, 2C, and 3A. On
these devices, the ERASE INPUT key blanks out the entry areas and all
fields with data displayed in red.
To clear the entry area and restore the screen, press the PA2 key.
System Errors
When a system error occurs, one or more of the following can happen:
v The screen is blanked out, and then an error message appears in the message
area
v An error message appears in the WARNING line.
v There is an abnormal lack of console activity.
The system should respond within a few seconds with the time and date. If it does
not, perform one of the following actions:
v Issue the CONTROL C,D command to cancel any status displays being
presented on the inactive console.
If neither of these procedures returns the console to normal activity, assume that
there is some other problem related to the console. Check for a console hardware
error. Also, if possible, switch control to another console. If the system must be
loaded again, follow normal procedures for IPL. Report the occurrence of this
problem to your system programmer.
Perform a CANCEL action. The CANCEL action should restore most of the screen,
including messages displayed inline in the message area, the instruction line, and
the warning line. The entry area and the PFK line, however, are blanked out, any
out-of-line displays are erased, and the cursor is positioned to the first data entry
position. Also, message numbering (if active) is terminated.
Note: If you do not perform a CANCEL action, the system rewrites the screen
(same effect as CANCEL) after about 30 seconds. If a console hardware
error results from keyboard input when you perform the CANCEL action, the
system sees the error as a permanent I/O error and automatically switches
consoles. All messages (except status displays) are moved to the new
console. (See Console Groups on page 3-8 for a description of console
switching.)
Appropriate values and system symbols appear in the actual message. Use the
alternate console to continue operating the system, and have the old console
checked for the source of the error.
Note: It is normal for the screen of a 3277 to go blank for a few seconds if the
back-tab key is pressed when the cursor is not in the entry area.
If the system has switched to the consoles alternate, operate the system from the
alternate console, and have the old console examined for the source of the error.
Note: Inhibited input, with or without keyboard locking, can also occur when the
system abends or goes into a wait state, or when a problem occurs in the
message handling portion of the control program. See the procedures
described for an inactive console under System Errors on page 2-15.
Occasionally, the system does not detect a failure. In this case, you should press
the external interrupt key to switch to the alternate.
When no alternate consoles are active, console switching cannot take place. If the
master console fails, and the master console function cannot be switched to
another console, all active MCS and SMCS consoles receive message IEE141A,
which indicates that there is no master console. There are several ways to resolve
a no-master-console condition:
v Issue VARY CN(),ONLINE to activate an MCS console and make it the master
console.
v Issue CONTROL V,USE=FC to change an active MCS output-only console to a
full-capability console, and make that console the master console.
v Issue the VARY MSTCONS command to make an active MCS or SMCS console
the master console.
v Activate a master-authority SMCS console to make that console the master
console.
The system tries to notify you of a no-consoles condition in one or more of the
following ways:
v Issuing message IEA546E to any active output-only console.
v Sounding an alarm on a device. The system can sound a device alarm only if:
The device was specified as a console at system installation
The device has an alarm feature
The device is online or in console status
The device is unallocated
v Sounding the processor controller alarm.
v Stopping message traffic on full-capability consoles. A lack of message traffic
could be the only indication of a no-consoles condition because the system might
To recover the master console, the operator can perform one of the following
actions:
v Issue VARY CN(),ONLINE (from an extended MCS or subsystem console) to
activate a full-capability console that is offline and make it the master.
v Issue CONTROL V,USE=FC (from an extended MCS or subystem console) to
change an active message stream or status display MCS console to a
full-capability MCS console and make it the master.
v Press the attention interrupt key on an MCS console device that is to become the
master console, then press the external interrupt key on the system console to
activate the device as the master console.
v In a sysplex, an operator can use the system console to IPL a system with a
full-capability console (defined with AUTH=MASTER) into the sysplex.
v Activate an SMCS console to relieve the no-consoles condition. If the console
was defined AUTH=MASTER, it will become the master console. Otherwise, it
will not become the master console, and the system or sysplex will enter a
no-master-console condition as described in No-Master-Console Condition in
z/OS MVS Planning: Operations. In a no-master-console condition, the operator
using the console can make the console the master console using the VARY
MSTCONS command, unless the installation takes steps to prevent it as
described in No-Master-Console Condition in z/OS MVS Planning: Operations.
If the recovery attempt is successful, the device that generated the attention
interrupt becomes the master console and message IEE870I appears on it.
This message indicates that the failing master consoles functions have been
switched to the new master console, messages queued to appear on the failing
master console now appear on the new master console, and the no-consoles
condition is resolved.
To avoid WTO message buffer shortages, you can raise your WTO buffer limit
(MLIM) and adjust message deletion specifications on your consoles. To avoid
WTOR message buffer shortage, raise your WTOR buffer limit (RLIM) and reply to
WTORs more frequently. Procedures for responding to WTO and WTOR buffers
shortages follow in this section.
If the problem continues and WTO buffer use reaches its limit, the system issues
the following action message:
IEA404A SEVERE WTO BUFFER SHORTAGE - 100% FULL
When MLIM is reached, the system obtains buffers in backup storage. When this
backup storage is exhausted, the system issue the following message:
IEA652A WTO STORAGE EXHAUSTED - WTOS WILL BE DISCARDED
When the system notifies you that the WTO buffers are 80% full, determine the
reason for the buffer shortage and correct the problem. Possible reasons are:
v A console is not ready and WTO messages are filling the console message
buffers because:
An intervention required condition exists.
The console has been powered off.
Some part of the path to the device is not working; for example, an I/O
interface is disabled.
One or more consoles may have their displays held.
v A console is not in roll mode, and messages are filling the console message
buffers.
v A console is in roll or wrap mode but the update time is too long, and messages
are filling the console message buffers.
v A buffer limit specified at IPL is too low to handle the message traffic in the
system. (Either the value on the MLIM parameter in the CONSOLxx member is
too low, or the system default for RLIM is too low.)
| v A program is issuing messages at too rapid a rateand might be in a loop. When
| a job uses a high percentage of the WTO buffers, the system issues message
| CNZ3011I which identifies the jobname and the address space.
To determine the extent of the problem and the responsible console or consoles,
examine the output from the DISPLAY CONSOLES,BACKLOG (D C,B) command.
When messages are backed up for a console, it might be necessary to delete the
queue of messages for the console using a CONTROL Q command. You might
need to issue CONTROL Q several times to clear the console completely.
When there are too many messages from one job/address space, consider
| cancelling the job or jobs specified in message CNZ3011I. If cancelling a job would
cause a serious impact, look at the messages the job is issuing. If the job seems to
be in a loop, then activate an MPF member to suppress or delete the repeating
message. Another option is to temporarily remove the messages routing code from
all the consoles.
When a high number of buffers is in use for messages from another system in the
sysplex, you can route a D C,B command to the other system to determine if a job
In this line, MSG: CURR=1356 LIM=1500 tells you the current use of WTO buffers and
the specified limit. RPLY: CURR=1 LIM=1500 tells you the number of WTOR
messages that have been displayed and are awaiting operator reply, and the
specified limit. The line confirms that more than 80% of the specified WTO buffer
limit is reached; 1356 WTO buffers are full and the specified limit is 1500. The
display in Figure 2-2 on page 2-20 indicates, through NBUF, the number of buffers
queued to each console. In this example, console 12, with 1217 message buffers
filled, is the source of the problem. The buffer limit of 1500 seems adequate, so
console 12 is probably failing and causing undisplayed messages to fill the
message buffers.
If the buffer limit is not adequate, issue the CONTROL M,MLIM= command to
increase the WTO buffer limit for the duration of the IPL. Your system programmer
might code the MLIM parameter on the INIT statement in the CONSOLxx member
to raise the WTO buffer limit for the next IPL.
When the number of buffers in use drops below 60% of the limit specified at IPL
time, the system issues the following message:
IEA406I WTO BUFFER SHORTAGE RELIEVED
Notes:
1. All lines of an out-of-line multi-line status display that have not been presented
occupy message buffers. Therefore, you should erase these displays when they
are no longer needed.
2. The current buffer count can be larger than the specified limit. Even though the
buffer count is greater than or equal to the limit, the system always gives a
privileged task a buffer unless the storage available for buffers is exhausted.
3. The system does not use the MLIM and RLIM parameter values specified in the
CONSOLxx parmlib member until either the hardcopy medium (SYSLOG or
If the problem continues and WTO buffer use reaches its limit, the system issues
the following action message:
IEA231A WTOR BUFFER SHORTAGE CRITICAL - 100% FULL
When the system notifies you that the WTOR buffers are 80% full, you should reply
to the WTOR messages that are outstanding. If any of the WTORs have rolled off
the screen (console roll mode is DEL=R), use the DISPLAY R,R command to
retrieve the text of the outstanding requests.
To raise the limit of WTOR buffers for the duration of the IPL, issue the CONTROL
M,RLIM command. If WTOR buffer use often reaches 80 percent of the limit, the
limit for WTOR messages specified at IPL might be too low to handle the WTOR
message traffic in the system. Your system programmer should code the RLIM
parameter on the INIT statement in the CONSOLxx member to raise the WTOR
buffer limit for the next IPL.
The VARY command does not cause the functions of the bypassed console to be
assigned to another console.
Before using the VARY command to bypass the master console, you must assign
the master consoles functions to another console.
| Before you use the VARY command to bypass the hardcopy medium, you must
| change the hardcopy medium to the system log.
When your system comes up, the definitions in certain members of SYS1.PARMLIB
are in effect. After IPL, you can use CONTROL, MONITOR, MSGRT, SET, and
VARY commands to change some of the definitions; however, the effect of the
command lasts only for the duration of the IPL.
The potential for this situation to occur comes from using these commands:
VARY CN
VARY CONSOLE
CONTROL V,LEVEL
SWITCH CN
VARY CN,MSCOPE
VARY CN,AUTH AUTH(INFO) Command groups
VARY CN,LOGON LOGON Defines the LOGON attribute
VARY CN,LU LU Defines the predefined LU for an SMCS
console only
VARY CN,ROUT ROUTCODE Routing codes for the console
VARY CN,AROUT
VARY CN,DROUT
Table 3-2 describes each MVS command that has a corresponding parameter on
the INIT statement in CONSOLxx, the parameter, and the characteristic that the
command and parameter affect. The value in parentheses indicates the default.
Table 3-2. Comparison of System Commands and INIT Statements in CONSOLxx
MVS Command Parameter on INIT Characteristic that the Parameter
Statement with default Affects
value
CONTROL M,AMRF AMRF(Y) Establishes whether the action
message retention facility is to be
active
CONTROL M,APPLID APPLID Sets the APPLID used by SMCS
on this system
The HARDCOPY statement is optional; CONSOLxx contains only one statement for
each system. If the HARDCOPY default is used, the system uses the following
defaults:
v The hardcopy medium is SYSLOG.
v The system uses a minimum set of routing codes (1, 2, 3, 4, 7, 8, 10, and 42) to
select messages for the hardcopy message set.
v CMDLEVEL(CMDS) is used to select the level of commands included in the
hardcopy message set.
Unlike values in CONSOLE and INIT, operators cannot change individual DEFAULT
statement values. Operators must re-IPL the system with the CONSOLxx member
that contains the new DEFAULT statement.
| If RACF is used to control who can issue commands, the RACF OPERCMDS
settings override the command group (AUTH) settings. For example, if the user has
access to the correct OPERCMDS profile, a job submitted in a class with
AUTH(INFO) will issue a MODIFY command. Similarly, if the user does not have
access to the proper OPERCMDS profile, a job submitted in an AUTH(ALL)
jobclass will be unable to issue a MODIFY command.
The commands in each group are shown in Table 3-4. The command groups are
ordered from the lowest to the highest JES authority level, as described in z/OS
JES2 Commands or z/OS JES3 Commands.
You can enter informational commands from any full-capability console. However, to
enter system control, I/O control, or console control commands from a secondary
console, that particular command group must be assigned to that console. If you
enter a command at a console where it is not authorized, MVS rejects the
command and sends an error message to the issuing console.
At the master console, you can enter all operator commands. Any console with
AUTH(MASTER) in the CONSOLxx parmlib member has master console authority.
Using RACF, the installation can allow the operators to log on to any MCS or SMCS
console. IBM recommends logon for SMCS. The operators RACF profile and group
authority determines what commands can be issued from the console. For a list of
MVS commands and their profile names, see z/OS MVS Planning: Operations.
Table 3-4. Command Groups Used to Determine Command Authority
Command Group Commands
INFO CMDS DISPLAY REPLY (See Note 4 on page 3-7)
CMDS SHOW ROUTE
CONTROL (See Note 3 on page 3-7) SEND
DEVSERV STOPMN
DISPLAY (See Note 1 on page 3-7)
LOG
LOGOFF
LOGON
MONITOR
MSGRT (See Note 1 on page 3-7)
| SYS (system ACTIVATE SETAPPC
| control) CANCEL SET GRSRNL
| CHNGDUMP SETETR
| DUMPDS SETIOS
| HALT (See Note 2 on page 3-7) SETLOAD
| HOLD SETOMVS
| LIBRARY SETPROG
| MODE SETSMF
| MODIFY SETSMS
| PAGEADD SLIP
| PAGEDEL START
| RELEASE STOP
| RESET SWITCH SMF
| SET TRACE (with CT, ST, or STATUS)
| WRITELOG
IO (I/O control) ASSIGN VARY {NET } (See Note 2 on page 3-7)
MOUNT {OFFLINE} (See Note 5 on page 3-7)
SWAP {ONLINE } (See Note 5 on page 3-7)
UNLOAD {PATH }
{name or [/]devnum}
CONS (console CONTROL (See Note 3 on page 3-7) VARY {CN{...}[,ALTGRP=...] }
control) {OFFLINE} (See Note 5 on page 3-7)
{ONLINE } (See Note 5 on page 3-7)
{PATH }
{name or [/]devnum }
MASTER (master CMDS ABEND SWITCH CN
console control) CMDS REMOVE TRACE (with MT)
CONFIG VARY {CN(...)[,AUTH=...]}
CONTROL (See Note 3 on page 3-7) {CN(...)[,LOGON=...]}
DUMP {CN(...)[,LU=...]}
FORCE {CONSOLE[,AUTH=...]}
IOACTION {GRS }
QUIESCE {HARDCPY }
RESET CN {MSTCONS }
SETCON {OFFLINE,FORCE }
SETGRS {XCF }
| SETLOGR
| SETLOGRC
SETSSI
SETXCF
Notes:
1. CONS command group when message routing is specified.
2. HALT NET and VARY NET are related to the Virtual Telecommunications Access Method (VTAM)
3. CONTROL is in the INFO command group except when
| v Purging the message queues of any other full-capability MCS or SMCS console MASTER.
v Message routing is specified CONS.
v Changing or displaying the status of the action message retention facility MASTER.
v Changing or displaying the number of allowed message buffers MASTER.
v Changing or displaying the status of WTO user exit IEAVMXIT MASTER.
v In a sysplex, changing the maximum time to wait for aggregated command responses MASTER.
v Increasing the number of reply IDs MASTER.
4. An operator can reply to any message that the console is eligible to receive. Any console with master authority
can reply to any message.
5. VARY CN,OFFLINE and VARY CN,ONLINE require CONS. Without the CN keyword, VARY OFFLINE and VARY
ONLINE require IO authority.
Console Groups
Each MCS, SMCS or extended MCS console can be assigned a console group to
be used as a backup if a console fails. An extended MCS console (1) increases the
number of consoles by using TSO/E terminals on MVS systems or (2) allows
applications and programs to access MVS messages and send commands. See
z/OS MVS Planning: Operations for information about extended MCS consoles.
The console group is a list of other functioning consoles in the system configuration,
with the same or greater capability (that is, a full-capability console can be the
alternate for a status display console, but an output-only console cannot back up a
full-capability console). When the system detects that the console is failing, it
automatically switches to the first available console in the failing consoles alternate
console group. If the system cannot find an active alternate, the system does not
switch the failing console. See z/OS MVS Planning: Operations for more information
about the arrangement of console groups.
To determine the alternate console group for your consoles, use the DISPLAY
CONSOLES command. Figure 3-1 on page 3-5 shows the display that appears in
response to this command.
Consoles can be MCS, SMCS or extended MCS consoles. Operators can use
SWITCH to do the following:
v Switch the console attributes of an active or inactive console to another console.
| v Switch the console attributes of an active or inactive console to its first available
| alternate in the alternate console group.
v Restore the console attributes of an inactive console that has switched to an
active alternate.
| When an operator uses the SWITCH command to switch from a console to another
| console, MVS first appends the console attributes with the other console and then
| deactivates the switched console.
Note: In this book, the term output-only mode refers to status display mode and
message stream mode.
Note: SMCS consoles are not permitted to be status display or message stream
consoles. SMCS consoles may only be full-capability consoles.
A console in status display mode provides a convenient area for displaying system
status information and frees the master console for use by other system messages.
You can divide the screen of the status display console into display areas,
according to your needs.
The routing location operand can be entered only from a console with CONS
(console control) command group authority. Command group authority is described
under System Commands Grouped According to System Command Authority on
page 3-5.
You can divide the screen on a full-capability console so that part of the screen
receives general messages and the other part receives status displays. When a
status display is not on the screen, MCS uses the status display area for general
messages.
The screens of the message stream console and the status display console appear
identical; they do not have any entry area. However, the screens of the consoles in
message stream mode receive general messages and the screens of the status
display consoles receive formatted status displays.
Message Area
nn Warning Line
The system gives you the following choices for operating mode for MCS consoles:
FC Full-capability
MS Message stream
SD Status display
You can check the console operating mode by entering the CONTROL V,REF
command. In response to this command, the specifications appear in the entry
area. You can change the specifications using the procedures described under
Changing Information in the Entry Area on page 2-13.
Example 1
The effect of this command lasts only for the duration of the IPL.
Note: When you use the CONTROL command to change the console operating
mode, you might also have to change other console characteristics. If the
Example 2
In response to this command, any information on the screen disappears, and the
system reestablishes the display area specifications that were defined in the
CONSOLxx parmlib member. If you were changing the console from full-capability
mode to message stream mode, information on the screen would disappear and the
message area would expand, as in Figure 3-2 on page 3-11.
Example 3
| In response to this command, the message area of the console with a console
| name of CON8 returns to its full-capability size, and the console specifications
return to those established the last time the console was in full-capability mode for
this IPL or those established in the CONSOLxx member.
The display area specifications also return to the specifications established the last
time the console was in full-capability mode.
The size of the screens message area varies, depending on the type of display
console. When the message area becomes full, you need to delete messages to
make room for new ones. You can delete messages, or have the system do it for
you automatically. (See Deleting Messages from the Console Screen later in this
chapter.) Once an action message is deleted from the screen, you cannot see the
entire message again unless the action message retention facility is active and you
have issued a DISPLAY R command.
So that you do not have to delete messages too often, make sure that you manage
message traffic carefully on all consoles. For example, if you find that the master
console screen fills often with action messages, think about:
v Adjusting routing codes and assigning message levels. Any console should
receive only messages for which the operator of that console is directly
responsible.
Routing codes do not appear with a message at a console; routing codes 1 through
28 do, however, appear on the system log. To determine the routing codes each
console receives, use the DISPLAY CONSOLES,A command. Figure 3-1 on page
3-5 shows the display that appears in response to this command.
Table 3-5. Message Routing Codes
Code Definition
One way to limit the messages that arrive at a console is to assign a routing code
or codes to a console. The console then receives only the messages that are
appropriate. You might want to direct only messages with routing codes 1, 2, 9, and
10 to the master console. The master console does not have to receive tape,
DASD, or teleprocessing messages.
To learn what the routing codes for a console are, enter the DISPLAY CONSOLES
command. Figure 3-1 on page 3-5 shows the display that appears in response to
this command.
If the LEVEL parameter in the CONSOLxx member is not coded, the system sends
all messages, including broadcast messages, to the console.
To display the routing codes and message levels for a console, issue the DISPLAY
CONSOLES command. Figure 3-1 on page 3-5 shows the display that appears in
response to this command.
To display the routing codes and message levels that appear only on the system
log and not on any console, issue the DISPLAY CONSOLES,HCONLY command.
You request that additional information precede each message the system
sends a console by:
v Using the CONTROL Command:
Use the MFORM operand on the CONTROL S command to change the format of
messages.
Example
| To request that the system add to all messages that appear at console CON2 a
| time stamp, the name of the system that issued the message, and the jobname
| or ID of its issuer, enter:
| CONTROL S,MFORM=(J,T,S),L=CON2
| The effect of this command lasts only for the duration of the IPL.
Message Presentation
Message presentation refers to the way the system uses color, intensity, and
highlighting (including blinking, reverse-video, and underscoring) to identify
messages that require action. The presentation depends on the type of device you
are using.
Enter the SET MPF command to change the MPFLSTxx member or members that
the system is to use.
Example
To specify MPFLST03 and MPFLST06 as the MPF members for the system to use,
enter:
SET MPF=(03,06)
The effect of this command lasts only for the duration of the IPL.
The DISPLAY R command allows you to display all outstanding action messages or
a subset of these messages. For example, to display all outstanding action
messages at your console, enter DISPLAY R,M. To display all the outstanding
critical eventual-action messages (descriptor code 11), enter DISPLAY R,CE. See
z/OS MVS Planning: Operations for use of the DISPLAY R command.
If the first system IPLs and AMRF is active, then AMRF is active on every system
that you subsequently IPL into the sysplex.
When you have performed the action required by a message displayed on the
screen, the system deletes the message; or you can use the CONTROL C
command to delete the message. You can remove action messages from the
screen that require later action, then retrieve them in their entirety later by using the
To change the messages that the action message retention facility is to retain,
activate an MPFLSTxx member that contains the message retention options you
want. The system default is to have the action message retention facility on.
To learn the status of the action message retention facility, issue the CONTROL
M,REF command.
You change the status of the action message retention facility by:
v Using the CONTROL Command
Use the CONTROL M,AMRF command to turn the action message retention
facility on or off.
Example
To deactivate the action message retention facility, enter:
CONTROL M,AMRF=N
The most effective message control involves coding and installing the installation
exit IEAVMXIT, which can gain control when any WTO or WTOR message is
issued.
To learn whether IEAVMXIT is active or not, issue the CONTROL M,REF command.
The system displays (in the entry area) the status of the action message retention
facility, the status of installation exit IEAVMXIT, and the limit of the number of WTO
and WTOR buffers.
Your installation might have other exit routines to process messages. MPFLSTxx
parmlib members contain the IDs of messages and the installation exits that
process these messages. To activate processing by these installation exits, see
Controlling the Message Processing Facility (MPF) on page 3-15.
Issue the DISPLAY MPF command to see all of this information for the messages
that are defined in the MPFLSTxx parmlib member.
In conversational mode, the cursor normally appears under the third non-blank
character when the command is in the entry area. If you want the cursor to appear
in a different location, when you define the command, type an underscore before
the character under which the cursor is to appear. The system deletes the space
occupied by the underscore in the actual command. For example, if you add the
following entry to a PFK table:
PFK(5) CMD(D U,L=_XXX) CON(Y)
You can use some MVS commands to display information about the PFKs at your
console, or to change the PFKs that are available for your consoles. The following
commands relate to the previous example:
v Display the PFK definitions in the PFK table named MVSCMDS.
DISPLAY PFK,TABLE=MVSCMDS
v List the names of all PFK tables in the active PFKTABxx member.
DISPLAY PFK,TABLE
v Assign the commands in the PFK table named JES2CMDS to the PFKs on your
console.
CONTROL N,PFK=JES2CMDS
v Activate another PFKTABxx member, in this case PFKTAB02.
SET PFK=02
This command assumes that you have a PFK table in PFKTAB02 and that you
want to replace MVSCMDS with another PFK table. (Other consoles might be
using tables in the former PFKTABxx member. PFK definitions for these consoles
are not affected by the action of this SET command.)
With the CONTROL N,PFK= command you can also determine whether
conversational or nonconversational mode is to be in effect for the commands
defined to the PFK. Nonconversational mode is the default. For example, if you
define PFK 5 as follows:
| CONTROL N,PFK=(5,CMD=D U,L=CON9A),CON=N
| pressing PFK 5 has the same effect as typing DISPLAY U,L=CON9A and pressing
| the ENTER key.
pressing PFK 5 causes the command D U,L=CON9A to appear in the entry area
but no enter action takes place. You can change, enter, or cancel the command
according to your requirements.
The system does not accept PFK assignments that may result in an endless loop.
Examples of commands that the system will not accept are:
v You cannot assign a PFK to itself. For example, the system does not accept
CONTROL N,PFK=(9,KEY=9).
Chapter 3. Defining and Changing Console Characteristics 3-19
v If a PFK is being assigned a list of PFKs (that is, a key list), that PFK cannot
appear in the key list for another PFK. For example, if PFK 5 is already
associated with keys 3 and 4, the system does not accept CONTROL
N,PFK=(6,KEY=5,8).
v If a PFK is already in a key list, you cannot assign a key list to that PFK. For
example, if key 4 is associated with keys 5 and 6, the system does not accept
CONTROL N,PFK=(5,KEY=7,8).
Remember that the assignment of the command to the PFK through the CONTROL
command lasts only for the duration of the IPL.
Example 1
If PFK 3 is associated with commands SET OPT=PM and SEND 14,BRDCST, and
PFK 4 is associated with the command START
GTF,MODE=INT,BUF=387,TIME=YES,DEBUG=YES, you can associate all three of
these commands with PFK 5 by entering:
CONTROL N,PFK=(5,KEY=3,4),CON=Y
The system schedules the commands in that order, but might not execute them in
that order.
Example 2
To remove a definition previously set for PFK 5, leaving PFK 5 undefined, enter:
CONTROL N,PFK=(5,CMD=)
You use CONSOLxx and PFKTABxx members to set the PFK definitions at IPL. You
can also change the PFK definitions for the duration of the IPL:
During IPL, the system looks for the PFK parameter in CONSOLxx member. If the
system does not find the PFK parameter, it issues the message:
IEA180I USING IBM DEFAULT DEFINITIONS. NO PFK TABLES REQUESTED
| In this case, PFKs 1 through 8 have the defaults that IBM supplies. These defaults
| are shipped in sample IEESPFK.
To define PFKs for your consoles, see Defining PFKs Using PFK Tables on page
3-18.
Processing Hardcopy
Logging provides a permanent record of system activity. Your installation can record
system messages and, optionally, commands and command responses, by using
either the system log (SYSLOG) or the operations log (OPERLOG). Your installation
can also allow an extended MCS console to receive the same set of messages as
SYSLOG and OPERLOG. The log that receives messages is called the hardcopy
medium. The group of messages that is recorded is called the hardcopy message
set.
The hardcopy message set is defined at system initialization and persists for the life
of the system. See z/OS MVS Planning: Operations for the characteristics of the
hardcopy message set.
To see information about the kinds of messages that the system includes in the
hardcopy message set, but does not send to any console, issue the DISPLAY
CONSOLES,HCONLY command.
To see which commands and command responses the system includes in the
hardcopy message set, issue the DISPLAY CONSOLES command. Figure 3-1 on
page 3-5 shows the display that appears in response to this command.
| Note:
You control which commands and command responses are included in the
hardcopy message set by:
v Using the VARY Command:
Use the VARY ,HARDCPY command to change the commands or the command
responses that are included in the hardcopy message set.
Example
To request that the hardcopy message set include all operator commands and
responses except status displays, enter:
VARY ,HARDCPY,INCMDS
The effect of this command lasts only for the duration of the IPL.
When MVS has JES3 as its job entry subsystem, the system log can record
console activity. If used to record console activity, the system log is referred to in
JES3 messages as DLOG.
The system log is queued for printing when the number of messages recorded
reaches a threshold specified at system initialization. You can force the system log
data set to be queued for printing before the threshold is reached by issuing the
WRITELOG command.
| If the system log is defined as the hardcopy medium and SYSLOG fails, the system
| attempts to switch hardcopy processing. If OPERLOG is not active at the time of
| failure, hardcopy processing is suspended and you are notified through the master
| console.
Example:
The effect of this command lasts only for the duration of the IPL.
Table 4-1 on page 4-2 sums up the MVS BCP system commands and their
functions. The figure shows the operator command groups for each command and
tells whether you can enter the command from the job stream, an MCS or SMCS
console, or an extended MCS console session. An extended MCS console session
is established either by the TSO/E CONSOLE command as an interactive TSO/E
session or by a program issuing the MCSOPER macro so the program can receive
messages and issue commands. See z/OS TSO/E System Programming Command
Reference for information about the TSO/E CONSOLE command. See z/OS MVS
Programming: Authorized Assembler Services Reference LLA-SDU for information
about the MCSOPER macro.
An installation can use RACF to control which consoles and commands operators
can use. For more information, see z/OS MVS Planning: Operations.
You can enter system commands through a multiple console support (MCS)
console, an SNA multiple console support (SMCS) console, an extended MCS
(EMCS) console, or through the input stream (card reader). Table 4-1 on page 4-2
indicates from which types of consoles a command is accepted. Superscripts
denote footnotes that can be found on the last page of the table. All examples in
this book show the format for MCS and SMCS console entry.
Notes:
1. If you enter a system command through a card reader in a JES2 system, enter
$VS,system command when you enter the command between jobs, and enter
//b system command when you enter the command within a job.
2. Do not use the JES backspace character within a system command.
Following the summary figure is a section on command syntax and format. The
syntax rules are shown in How to read syntax conventions on page 4-12.
The rest of this chapter consists of a description of each command in more detail.
The descriptions are in alphabetical order by command name. Each description lists
the functions that the command performs followed by the commands syntax and
MASTER
DEVSERV Display current status of devices and MCS, SMCS or INFO
(DS) corresponding channel paths extended MCS
consoles or job
stream 5
Stop an initiator
Notes:
1. CONS command group when message routing is specified.
2. For information about VTAM commands, see VTAM Operation.
3. This command is in a different command authority group depending on the parameters specified on
the command. See Table 3-4 on page 3-6 for more information.
4. An extended MCS console can be either an interactive TSO/E session or a program that issues the
MCSOPER macro.
Typical Format
Most system commands can use the format shown in Figure 4-1.
This second format provides the opportunity to include a comment after the
command and each operand within the command. These restrictions apply:
1. You may, but do not have to use a comma between operands. Examples:
D PROG APF
D PROG,APF
2. This format requires that each comment be contained between a slash-asterisk
and asterisk-slash pair. Comments may contain embedded blanks. Examples:
D PROG APF /* comments */
D PROG /*comment */ APF /* comment */
ACTIVATE Command
Use the ACTIVATE command to activate or test a new I/O configuration definition
dynamically.
Restrictions
For a list of restrictions on the ACTIVATE command, see z/OS HCD Planning.
Syntax
The complete syntax for the ACTIVATE command is:
ACTIVATE {[,IODF=xx][,EDT=xx][,PROC=procname][,CFID=id] }
[,RECOVER=SOURCE|TARGET][,ACTIOCDS=xx]
{[ ,SOFT[=VALIDATE|=NOVALIDATE] ] }
|,TEST
|,FORCE
|,FORCE={DEVICE }
{CANDIDATE }
{(DEVICE,CANDIDATE)}
{(CANDIDATE,DEVICE)}
Note: Do not specify a comma before the first parameter following ACTIVATE.
Parameters
IODF=xx
Specifies the two-character suffix of the target IODF data set name (IODFxx)
that contains the configuration definition the system is to activate. When this
keyword is omitted, the system defaults to the active IODF data set name.
EDT=xx
Specifies the eligible devices table (EDT) that the system is to construct from
the target IODF. If you omit this keyword, the system uses the active EDT
identifier.
PROC=procname
Indicates the eight-byte name of the processor definition in the target IODF. If
you omit this keyword, the system will use the active processor name.
CFID=id
Specifies the eight-byte configuration identifier that indicates the operating
system definition in the target IODF. If you omit this keyword, the system
defaults the configuration identifier as follows:
v When the target IODF has only one configuration identifier, it becomes the
default, otherwise, the current configuration identifier is the default.
RECOVER=
Allows the installation to continue a dynamic change that did not complete due
to a hardware, software, or PR/SM failure. You can specify:
v SOURCE to retry the original I/O configuration
v TARGET to retry the new I/O configuration
v default:
Retry TARGET IODF if ACTIVATE failed during advance
Note: Before activating the new configuration, you may have to configure offline
affected channel paths or vary offline affected devices. See z/OS HCD
Planning for details about avoiding disruptions to I/O operations during
dynamic changes.
Example 1
Example 2
Example 3
Example 4
To ACTIVATE an IODF with suffix 04, which deletes one or more I/O components
from the I/O configuration, enter:
ACTIVATE IODF=04,FORCE
or
ACTIVATE IODF=04,FORCE=DEVICE
CANCEL Command
Use the CANCEL command to end an active job, started task, or time-sharing user
immediately. The table that follows summarizes the tasks that the CANCEL
command can perform. Following the table are usage notes, the complete
command syntax, definition of parameters, and examples of use.
If the program that supports the job or started task was designed to recognize the
STOP command, use the STOP command before using the CANCEL command. If
the CANCEL command fails several times, consider using the FORCE command.
Table 4-4. CANCEL Command Tasks
Task - Immediately Terminate: Syntax
v A job in execution CANCEL jobname
v A running Advanced Program-to-Program Communication/MVS
(APPC/MVS) transaction program
v A started task
v A time-sharing user CANCEL U=userid
v A started task CANCEL identifier
v A MOUNT command
v An external writer allocation
v The output processing for a job
v A z/OS UNIX process
Notes:
1. If your system was part of a global resource serialization ring (GRS=START,
GRS=JOIN or GRS=TRYJOIN was specified at IPL) and the system is either
inactive or quiesced (by entering the VARY GRS(system name),QUIESCE
command), the CANCEL command might not work for jobs that own any global
resources. Use DISPLAY GRS to determine GRS status.
2. If a job is running, you can end it using either the CANCEL system command or
the appropriate subsystem command. However, if the job is not running, you
must CANCEL the job using the subsystem command.
3. The CANCEL command issues an ABEND with either code 122 or 222 to
abnormally end a job step or time-sharing user. The ABEND is asynchronous
and might result in additional errors, depending on which programs were active
at the time of the request. You might need to issue additional CANCEL
commands to completely end the job.
4. Entering the CANCEL command during device allocation terminates the external
writer as well as the unit of work. Entering this command when the external
writer is processing output for a job terminates the output processing but leaves
the external writer to process other data sets.
5. When you cancel a MOUNT command for a tape unit, the MOUNT command
can end before the volume has been mounted. If the MOUNT command has
ended and the mount request is not satisfied, issue the UNLOAD command to
free the tape unit.
Syntax
The complete syntax for the CANCEL command is:
C {jobname }[,DUMP][,A=asid][,ARMRESTART]
{U=userid }
{[jobname.]identifier}
Parameters
jobname
The name of the batch job, started task, or APPC/MVS transaction program to
be canceled.
| The job name for a given started task can be assigned based on a variety of
| inputs. These inputs are examined in the following order, so that if item #1 is
| not specified, item #2 is used. If neither #1 nor #2 is specified, then #3 is used,
| and so on.
| 1. The jobname specified in the JOBNAME= parameter of the START
| command
| or
| The identifier specified on the START command.
| 2. The jobname specified on the JOB JCL statement within the member.
| 3. The device number specified on the START command, or the device
| number associated with the device type specified on the START command
| or
| The device number associated with the device type specified on the START
| command.
| 4. The device number associated with the IEFRDER DD statement within the
| member.
| 5. The member name.
U=userid
The user ID of the time-sharing user you want to cancel.
If the user is just logging on and does not yet have a unique name, you must
find out the address space identifier for the user (see the explanation under
A=asid) and use the following version of the command:
CANCEL U=*LOGON*,A=asid
[jobname.]identifier
The identifier for the unit of work that you want to cancel, optionally preceded
by the job name.
The following types of identifiers can be used:
v The identifier that was specified on the START command.
v [/]devnum, the device number specified when the START or MOUNT
command was entered. The device number is 3 or 4 hexadecimal digits,
optionally preceded by a slash (/). You can precede the device number with a
slash to prevent ambiguity between the device number and a device type or
identifier.
v devicetype, the type of device specified when the START or MOUNT
command was issued.
When you specify an asterisk, the system responds with message IEE422I.
Attention: When you use the asterisk format, the command affects all started
tasks that begin with the specified characters. Device numbers are assumed to
be four-digit numbers; for example, /13* would match on 1301, 1302, and so
on, but would not match on 13C, because 13C is interpreted as 013C.
Specifying both the job name and the entire identifier causes the command to
take effect if one and only one work unit with that combination of job name
and identifier is running. For the case where more than one work units with the
same combination of job name and identifier are running, see A=asid below.
DUMP
A dump is to be taken. The type of dump (SYSABEND, SYSUDUMP, or
SYSMDUMP) depends on the JCL for the job. A dump request is only valid
when made while the job is running. Dumps are not taken during job allocation
or deallocation.
Note: You can use DUMP with any of the other CANCEL parameters.
A=asid
The hexadecimal address space identifier of the work unit you want to cancel.
If more than one work unit is running with the same job name, identifier,
combination of job name and identifier, or user ID that you specified on the
CANCEL command, the system rejects the command because it does not know
which work unit to cancel. To avoid this, you must add the parameter A=asid to
your original CANCEL command in order to specify the address space identifier
of the work unit.
Note: If the asterisk format is used, you will not be prompted for A=asid.
Rather, all work units meeting the specified criteria will be canceled.
You can use the CANCEL operator command to cancel z/OS UNIX address
spaces. Each address space is equivalent to a z/OS UNIX process.
To find out the address space identifier for a unit of work, you can use the
DISPLAY command as follows:
DISPLAY JOBS,ALL
Lists the address space identifiers for all batch jobs and started tasks.
DISPLAY ASCH,ALL
Lists the address space identifiers for all APPC/MVS transaction programs.
DISPLAY TS,ALL
Lists the address space identifiers for all logged-on time-sharing users.
DISPLAY OMVS,ASID=ALL or DISPLAY OMVS,A=ALL
Lists the address space identifiers for all z/OS UNIX processes.
Note: A=asid can be used with any of the other CANCEL parameters except if
you specify jobname.identifier with an asterisk (for example, CANCEL
aor2.tl*).
ARMRESTART
Indicates that the batch job or started task should be automatically restarted
after the cancel completes, if it is registered as an element of the automatic
restart manager. If the job or task is not registered or if you do not specify this
parameter, MVS will not automatically restart the job or task.
Example 1
Example 2
Cancel the job named EXAMPLE. Whether you get a dump or not depends on the
system routine in control when you enter the command.
c example
Example 3
Of all jobs named EXAMPLE in the system, cancel only the one whose address
space identifier is 7F.
c example,a=7F
Example 4
Log off the system the user just logging on who has an address space identifier of
3D but does not yet have a unique user identifier.
c u=*logon*,a=3d
Example 5
Example 6
Example 7
Example 8
Example 9
End the device allocation for a writer with device number 00E.
c 00e
Example 10
End the output processing being done for device number 00E and cause another
output data set to be processed.
c 00e
Example 11
End the output processing being done for device number 3480 and cause another
output data set to be processed.
c /3480
Example 12
Of all the transaction programs running with the job name MAIL, end only the one
whose address space identifier is 2C, which is the APPC/MVS scheduler (ASCH)
initiator ASID.
C mail,a=2c
Example 13
Example 14
There are several tasks running with jobname AOR2. End all of those tasks.
c aor2.*
Example 15
There are several tasks running with jobname AOR2. Some of those tasks have
identifiers beginning T1. End only those specific tasks.
c aor2.t1*
Example 16
The following example shows an operator session that cancels a process that is
running the shell command sleep 6000 for the TSO/E user CHAD.
DISPLAY OMVS,U=CHAD
If you want to cancel only the process that is running the shell command sleep
6000, enter:
CANCEL CHAD3
CHNGDUMP Command
Use the CHNGDUMP command to change the mode and system dump options list
for any dump type, or to request structures to be dumped when one or more
systems connected to a coupling facility fail. The dump types are SDUMP,
SYSABEND, SYSUDUMP, and SYSMDUMP. If you issue multiple CHNGDUMP
commands, the changes to the system dump options are cumulative. Table 4-5
summarizes the information that the CHNGDUMP command provides. Use it to
access the pages on which you can find details about a particular use of the
CHNGDUMP command.
Table 4-5. Summary of the CHNGDUMP Command
Command Topic
CHNGDUMP DEL Removing Options from or Resetting the System Dump Options
Lists on page 4-26
CHNGDUMP RESET Resetting Dump Mode to ADD and the Dump Options to Initial
Values on page 4-32
CHNGDUMP SET Setting the Dump Modes and Options on page 4-34
The dump options, whether taken from a system dump options list or from a dump
request, specify, for each dump type, the data areas to dump. MVS sets up system
dump options lists each time you initialize the system. These lists specify the dump
mode and dump options in effect for each dump type. The system finds the starting
dump options lists for the SYSABEND, SYSUDUMP, and SYSMDUMP dump types
in parmlib members IEAABD00, IEADMP00, and IEADMR00 respectively. Because
the SDUMP dump type has no corresponding parmlib member, it starts with an
empty dump options list.
Dump Modes
In addition to ADD, other possible dump modes are OVER and NODUMP. The
meaning of each mode is:
v ADD When a dump is requested for a dump type that is in ADD mode, the
system merges the options specified on the dump request with the options
specified in the system dump options list for that dump type. The merged options
determine the data areas to dump. If an option specified on the dump request
conflicts with an option in the options list, the system uses the option in the
options list.
v OVER When a dump is requested for a dump type that is in OVER (override)
mode, the system ignores the options specified on the dump request and uses
only the options specified in the system dump options list for that dump type
combined with the override options to determine the data areas to dump.
v NODUMP When a dump is requested for a dump type that is in NODUMP
mode, the system ignores the request and does not take a dump.
Changing the mode of a dump type can also affect its system dump options list as
follows:
v If you change the mode for a dump type from OVER to ADD, the system adds
the dump types parmlib options to the dump types system dump options list.
The dump types system dump options list then contains both the dump types
parmlib options and any options set by previous CHNGDUMP commands.
v If you change the mode for a dump type from ADD to OVER, the system
removes the dump types parmlib options from the dump types system dump
options list. The dump types system dump options list then contains only the
options set by previous CHNGDUMP commands.
v If you change the mode for a dump type to NODUMP, the system empties the
dump types system dump options list.
If you make an error entering a CHNGDUMP command, the system rejects the
entire command and issues an error message.
Scope in a Sysplex
The CHNGDUMP command has sysplex scope only when all systems are
connected to the same coupling facilities, and you specify
,SDUMP,SYSFAIL,STRLIST=. See Using Commands That Have Sysplex Scope
on page 1-11 for an explanation of sysplex scope.
Syntax
The syntax for each variation of the CHNGDUMP command (CD DEL, CD RESET,
and CD SET) is shown immediately preceding its respective parameter list.
CHNGDUMP or CD
CD DEL[,SDUMP[=(option[,option]...)] ]
[,Q={YES|NO}]
[,TYPE={XMEM|XMEME}]
[,ALL]
[,SYSFAIL,STRLIST={ALL|(STRNAME=strname[,STRNAME=strname]...)}]
[{,SYSABEND}[,SDATA=(option[,option]...) ] ]
[{,SYSUDUMP} |,PDATA=(option[,option]...) ]
|,ALL
[,SYSMDUMP[=(option[,option]...)] ]
|,ALL
[,ALL ]
Parameters
DEL
Set the dump mode for each dump type to ADD and reset all system dump
options lists to the values established during system initialization. (The system
gets the initial dump options for SYSABEND, SYSUDUMP, and SYSMDUMP
from parmlib members IEAABD00, IEADMP00, and IEADMR00 respectively.
The system empties the SDUMP dump options list.)
SDUMP
Set the dump mode for the SDUMP dump type to ADD, and empty the
SDUMP system dump options list.
SDUMP,SYSFAIL,STRLIST={ALL or STRNAME=strname,...}
To delete STRNAME specifications from the dump options list. You can
delete any or all structure name specifications from the dump options list.
For a complete description of the keyword specifications see the
SET,SDUMP parameter on page 4-37.
SDUMP=(options)
Remove the specified options from the SDUMP system dump options list. If
the SDUMP dump mode is OVER, and previous CHNGDUMP commands
have removed all dump options from the SDUMP dump options list, this
command has no effect and leaves the SDUMP dump options list empty.
See Options for SDUMP, SYSABEND, SYSUDUMP, and SYSMDUMP on
page 4-29 for SDUMP options you can specify.
SDUMP,Q=YES or NO
Specifies whether or not SDUMP is to quiesce the systemset it to
nondispatchable (Q=YES) or leave the system dispatchable (Q=NO)while
dumping the contents of the SQA or CSA. For further information, see
Setting the Dump Modes and Options on page 4-34.
SDUMP,TYPE=XMEM
Turn off cross memory in the SDUMP system dump options list.
SDUMP,TYPE=XMEME
Turn off cross memory at the time of the error in the SDUMP system
dump options list.
SDUMP,ALL
Same as DEL,SDUMP.
SYSABEND
Set the dump mode for the SYSABEND dump type to ADD, and reset the
SYSABEND system dump options list to the values established during
system initialization. (The system gets the initial dump options for
SYSABEND from the IEAABD00 parmlib member.)
SYSABEND,SDATA=(options)
Remove any of the specified SDATA options that previous CHNGDUMP
commands put in the SYSABEND system dump options list. Parmlib
options do not change. If the SYSABEND dump mode is OVER and
previous CHNGDUMP commands have removed all SDATA and PDATA
dump options from the SYSABEND dump options list, reset the list to the
parmlib options. See Options for SDUMP, SYSABEND, SYSUDUMP, and
SYSMDUMP on page 4-29 for SYSABEND options you can specify.
SYSABEND,PDATA=(options)
Remove any of the specified PDATA options that previous CHNGDUMP
commands put in the SYSABEND system dump options list. Parmlib
SDUMP options:
ALLNUC All of the DAT-on nucleus, including page-protected areas, and all
of the DAT-off nucleus.
ALLPSA or NOALLPSA or NOALL
Prefix storage area for all processors. NOALLPSA or NOALL
specifies that these areas are not to be dumped.
COUPLE XCF related information in the sysplex.
CSA Common storage area.
GRSQ Global resource serialization (ENQ/DEQ/RESERVE) queues.
LPA Link pack area.
LSQA Local system queue area.
NUC Non-page-protected areas of the DAT-on nucleus.
PSA Prefix storage area of the dumping processor.
RGN Entire private area.
SERVERS Requests that the registered IEASDUMP.SERVER dynamic exits
receive control.
SQA or NOSQA
System queue area. NOSQA specifies that this data not be
dumped.
SUMDUMP or SUM
Requests the summary dump function. For a description of NOSUM
the summary dump function, see z/OS MVS Programming:
Authorized Assembler Services Reference LLA-SDU.
NOSUM or NOSUMDUMP
Requests that the function not be performed.
SWA Scheduler work area.
TRT GTF, system trace, and master trace data.
WLM Workload management related information in the sysplex.
XESDATA XES-Related information in the sysplex.
SYSMDUMP options:
ALL Sets all of the other SYSMDUMP options except NOSYM and
ALLNUC.
ALLNUC All of DAT-on nucleus, including page-protected areas, and all of
the DAT-off nucleus.
CSA The portions of the common storage area that are not
fetch-protected.
GRSQ Global resource serialization (ENQ/DEQ/RESERVE) queues.
LPA Link pack area for this job.
LSQA Local system queue area.
NOSYM Symptom dump is not to be produced.
NUC Non-page-protected areas of the DAT-on nucleus.
RGN Entire private area.
SQA System queue area.
SUM Requests the summary dump function. For a description of the
summary dump function, see z/OS MVS Programming: Authorized
Assembler Services Reference LLA-SDU.
SWA Scheduler work area.
TRT System trace data. (For an authorized user, system trace data is for
all address spaces in the system. For an unauthorized user, system
trace data is for the users address space only.)
Resetting Dump Mode to ADD and the Dump Options to Initial Values
Use the CHNGDUMP RESET command to reset the dump mode to ADD and the
dump options list to values established during system initialization.
CD RESET[,SDUMP ]
|,SYSABEND
|,SYSUDUMP
|,SYSMDUMP
|,ALL
RESET
Set the dump mode for each dump type to ADD, and reset the system dump
options list for each type to the values established during system initialization.
(The system gets the initial dump options for SYSABEND, SYSUDUMP, and
SYSMDUMP from parmlib members IEAABD00, IEADMP00, and IEADMR00
respectively. The system empties the SDUMP dump options list.)
RESET,SDUMP or SYSABEND or SYSUDUMP or SYSMDUMP
Set the dump mode for the specified dump type to ADD, and reset the dump
types system dump options list to the values established during system
initialization. (The system gets the initial dump options for SYSABEND,
SYSUDUMP, and SYSMDUMP from parmlib members IEAABD00, IEADMP00,
and IEADMR00 respectively. The system empties the SDUMP dump options
list.)
RESET,ALL
Same as RESET.
Table 4-6. Example of How CHNGDUMP Commands Affect Dump Modes and Options (continued)
FUNCTION (* indicates operator commands/actions) OPTIONS MODE
CB LSQA ADD
ABEND SDATA=(NUC,SWA) DM NUC
Because mode is ADD, options specified on dump ENQ SUM
request are added to options set on in options list to ERR SWA
IO TRT
determine areas to dump.
CB LSQA ADD
* CD SET,SYSABEND,SDATA=PCDATA DM PCDATA
An additional option is set on in options list. ENQ SUM
ERR TRT
IO
CB LSQA ADD
ABEND DM PCDATA
Because dump request specified no additional options, ENQ SUM
only options set on in options list determine areas to ERR TRT
IO
dump.
CB NUC ADD
ABEND SDATA=(NUC,SWA) DM PCDATA
Because mode is ADD, options specified on dump ENQ SUM
request are added to options set on in options list to ERR SWA
IO TRT
determine areas to dump.
LSQA
CB OVER
* CD SET,SYSABEND,OVER,SDATA=(CB,IO) IO
Mode is changed to OVER and parmlib options are PCDATA
deleted from options lists. Only options set by previous
CD commands remain on in options list; CD commands
are cumulative. Options in options list are combined with
override options to determine areas to dump.
CB OVER
ABEND SDATA=(SWA,TRT) IO
Because mode is OVER, options specified on dump PCDATA
request are ignored. Options set on in options list
determine areas to dump.
CB LSQA OVER
* CD SET,SYSABEND,SDATA=(ENQ, LSQA),OVER ENQ PCDATA
Two more options are set on in options list, and mode is IO
unchanged.
CB LSQA ADD
* CD SET,SYSABEND,SDATA=NUC DM NUC
Mode is changed to ADD (the default) for SYSABEND, ENQ PCDATA
parmlib options are set on, and CD command options ERR SUM
IO TRT
are set on. Previous CD command options remain on.
CB NUC ADD
ABEND SDATA=(CB,SWA,NUC) DM PCDATA
Because mode is ADD, options specified on dump ENQ SUM
request are added to options set on in options list to ERR SWA
IO TRT
determine areas to dump.
LSQA
NODUMP
* CD SET,SYSABEND,NODUMP
Mode is changed to NODUMP. All options in options list
are set off.
Table 4-6. Example of How CHNGDUMP Commands Affect Dump Modes and Options (continued)
FUNCTION (* indicates operator commands/actions) OPTIONS MODE
NODUMP
ABEND SDATA=(CB,SWA,NUC)
Because mode is NODUMP, request is ignored.
CB LSQA ADD
* CD SET,SYSABEND,SDATA=SQA DM SQA
Mode is changed to ADD. Parmlib options on this CD ENQ SUM
command are set. ERR TRT
IO
CB SQA ADD
* CD DEL,SYSABEND,SDATA=(DM,IO) ENQ SUM
Because DEL is specified, specified options in options ERR TRT
list are set off. LSQA
ADD
* CD DEL,SYSABEND,SDATA=(SQA, LSQA,TRT,
CB,ENQ,ERR,SUM)
Specified options are set off in options list.
SQA ADD
ABEND SDATA=(SQA)
The option specified in the dump request determines the
area to dump. There are no options on in the options
list.
CB IO ADD
* CD RESET,SYSABEND DM LSQA
Mode and options list are reset to values established at ENQ SUM
system initialization. ERR TRT
CD SET,{NODUMP }
{OVER }
{ADD }
{SDUMP[=(option[,option]...)] }
[,Q={YES|NO}]
[,TYPE={XMEM|XMEME}]
[,BUFFERS={nnnnK|nnnM}]
[,MAXSPACE=xxxxxxxxM]
[,MSGTIME=yyyyy]
[,SYSFAIL,STRLIST=(s-option[,s-option]...)]
[,NODUMP]
|,OVER
|,ADD
{{SYSABEND}[,SDATA=(option[,option]...) ][,NODUMP] }
{{SYSUDUMP} |,PDATA=(option[,option]...) |,OVER }
|,ADD
{SYSMDUMP[=(option[,option]...)][,NODUMP] }
|,OVER
|,ADD
| {ABDUMP,TIMENQ=yyyy}
STRNAME=strname
[,CONNAME=conname ]
[,ACCESSTIME={ENFORCE|NOLIMIT|NOLIM} ]
[,LOCKENTRIES ]
[,USERCNTLS ]
[,EVENTQS ]
[,(EMCONTROLS={ALL|(list))} ]
[,({COCLASS|STGCLASS|LISTNUM}={ALL|(list)} ]
[ {[,ADJUNCT={CAPTURE|DIRECTIO}][,ENTRYDATA={UNSERIALIZE|SERIALIZE}]} ]
[ {[,SUMMARY] }) ]
SET
Set the dump mode and put specified options in the system dump options list.
NODUMP
Set the SDUMP, SYSABEND, SYSUDUMP, and SYSMDUMP dump modes
to NODUMP, and remove all options from the system dump options lists for
these dump types.
ADD
Set the SDUMP, SYSABEND, SYSUDUMP, and SYSMDUMP dump modes
to ADD. If any of these dump types were previously in OVER mode, add its
parmlib dump options to its system dump options list.
OVER
Set the SDUMP, SYSABEND, SYSUDUMP, and SYSMDUMP dump modes
You may use the following keyword to further modify the STGCLASS,
COCLASS and LISTNUM keywords:
ADJUNCT= or ADJ={CAPTURE or CAP or DIRECTIO or DIO}
Indicates that the adjunct data for each entry specified by the range is
included in the dump. When you do not specify this keyword, or when
adjunct data does not exist for this structure, the dump does not include
the adjunct data.
ADJUNCT may not be specified with SUMMARY. If they are both
specified, a syntax error is issued.
When ADJUNCT=CAPTURE is specified, the adjunct data is captured
in the facility dump space along with the directory information while
dumping serialization is held.
When ADJUNCT=DIRECTIO is specified, the adjunct data is written
directly to the dump data set after the directory information is captured.
The adjunct data is not captured in the structure dump table. The
adjunct data may be changing as dumping proceeds.
ENTRYDATA= or EDATA={UNSERIALIZE or UNSER or SERIALIZE or
SER}
Indicates that the entry data for each entry within the requested range
is included in the dump. When this keyword is not specified or when
entry data does not exist for the structure, entry data is not included in
the dump.
ENTRYDATA may not be specified with SUMMARY. If they are both
specified, a syntax error is issued.
When ENTRYDATA=UNSERIALIZE is specified, the entry data is
dumped after structure dump serialization is released. The entry data
may be changing relative to the entry controls that were captured while
structure dump serialization was held.
When ENTRYDATA=SERIALIZE is specified, the entry data is dumped
while serialization is held. If ACCESSTIME=ENFORCE is specified and
the dump time limit expires before the entry data is written to the dump
data set, the system continues to write the entry data to the dump data
set even though serialization is not held.
SUMMARY or SUM
Indicates that a summary of the range of classes or lists is dumped.
The directory information for the entries is excluded from the dump.
SUMMARY may not be specified with ADJUNCT or ENTRYDATA. If it
specified with either of these keywords, a syntax error is issued.
Notes:
1. A syntax error is issued if STRNAME is not the first keyword.
2. If CONNAME and ACCESSTIME are specified more than one time for a
structure, the first CONNAME and the last ACCESSTIME are used.
3. When a list number, a storage class, a cast-out class, or an entry is
specified in the STRLIST more than once, it will be dumped more than
once. An example of this is when STGCLASS=ALL is specified with
COCLASS=ALL. All entries in the coupling facility cache structure are
dumped twice. Once grouped by storage class and again grouped by
cast-out class.
4. When neither LISTNUM, STGCLASS, or COCLASS is specified, no list
or class controls are dumped and no entries are dumped.
5. If you request a large amount of dump data, the system may not be
able completely to dump all the data. You can expect to successfully
dump up to a maximum of 47 structures if you specify no more than a
total of 6 ranges. If you must specify more than 6 ranges, you must
specify fewer structures. For each structure less than 47 that you
specify, you can specify another 10 ranges, as follows:
If the system cannot dump all the data you requested, it prioritizes the
data according to your specifications on the command in the following
manner:
a. The system will attempt to dump the first requested structure first.
1) Within that structure, the system processes the LOCKENTRIES,
USERCNTLS, COCLASS, STGCLASS, and LISTNUM
parameters in the order that they are specified. COCLASS,
STGCLASS, and LISTNUM may be specified more than once
for a single structure.
Structure 1
Range 1 Serialized Data as
Range 2 specified on
Range 3 Serialized Priority 1 the command
Range 4
Range 5 Serialized
Range 6 Priority 3
Structure 2
Range 1 Serialized
Range 2 Priority 2
Range 3 Serialized
Range 4 Priority 4
CMDS Command
Use the CMDS command to display executing and waiting MVS commands, to
delete commands that are waiting for execution, or to cancel commands that are
executing.
Syntax
The complete syntax for the CMDS command is:
CMDS {ABEND,CMD=cccccccc,ID=nnnn[,CLASS=classname][,JOB=jobname]}
{DISPLAY|D[,CLASS=classname][,CMD=cccccccc][,ID=nnnn][,JOB=jobname]}
{REMOVE|R[,CLASS=classname][,CMD=cccccccc][,ID=nnnn][,JOB=jobname]}
{SHOW|S[,CLASS=classname][,CMD=cccccccc][,ID=nnnn][,JOB=jobname]}
Notes:
1. The ABEND parameter requires that you specify the CMD= and ID= subparameters.
2. The REMOVE parameter requires that you specify at least one subparameter.
3. You may specify the optional subparameters of the default or specified parameter in any
order.
Parameters
CMDS
v ABEND abnormally end a command that is currently executing.
This parameter requires subparameters CMD= and ID=.
The system terminates, with ABEND code 422, reason code 00010301, the
command that CMD=cccccccc and ID=nnnn identifies.
Use the ABEND option with extreme caution, being careful to avoid leaving the
system in an inconsistent state. Use this parameter only as a last resort, such as
when a command is hanging in execution.
The system issues message IEE064I in response to this command. It does not
send any response message to the console that issued the abended command.
Attention: An ACTIVATE command may still be active as a task in IOSAS after
the command task has been abended with a CMDS ABEND.
v DISPLAY | D display the numbers and brief information about the commands
that are currently executing and those that are waiting for execution.
The system issues message IEE062I in response to this command.
v REMOVE | R remove commands that are waiting for execution, as specified
by the subparameters. You cannot use this option to cancel any commands that
are executing.
The REMOVE parameter requires you specify at least one of the keyword
subparameters CLASS=, CMD=, ID=, or JOB=.
The system issues message IEE064I in response to this command, and sends
message IEE065I to the console that issued the removed command.
v SHOW | S display full information about the specific command(s) specified by
the subparameters.
The system issues message IEE063I in response to this command.
The CMDS command uses the following keyword subparameters to limit the
number of commands to show or remove:
v CLASS= classname
The command class in which the commands belong.
If you do not specify this parameter, commands in all classes will be displayed or
removed.
The classes are:
1. Class M1 commands may be essential to clearing a backlog of Class M2
commands.
2. Class M2 commands are ordinary attached commands that run in the
MASTER address space.
| 3. Class M3 is only for SEND commands executed in the MASTER address
| space.
4. Class C1 commands might be needed to clear a backlog of Class C2
commands.
5. Class C2 commands are ordinary attached commands that run in the
CONSOLE address space.
| 6. Class C3 is only for the ROUTE command executed in the CONSOLE
| address space.
For a list of the commands by class, see Command Flooding on page 1-33.
v CMD= command verb
The name of the command, as displayed by the SHOW option. For example,
CMDS REMOVE,CMD=CONFIG
will delete all CONFIG commands that are waiting for execution.
You can use command abbreviations instead of full command names.
v ID= number
The commands sequence number, which appears in the output from a CMDS
DISPLAY or CMDS SHOW command (messages IEE062I or IEE063I).
v JOB= jobname of the command issuer, as displayed by the SHOW option. For
example,
CMDS REMOVE,JOB=JOB1111
Note: Some commands remain active indefinitely, so the system will display them
whenever CMDS is issued. For example, if any SLIP commands have been
issued and SLIP traps are in effect, one SLIP command will be executing
| until all traps are deleted. This is also true for many SET commands, such
| as SET SLIP and SET MPF.
CONFIG Command
Use the CONFIG command to change or check the configuration of the system.
You can use the CONFIG command to change the online or offline status of
available processors, Vector Facilities attached to online processors, storage
amounts, storage ranges, central and expanded storage elements, and channel
paths:
1. Directly
2. In response to a configuration display
3. With the options in a CONFIGxx parmlib member that you specify
Table 4-7 summarizes the information that the CONFIG command provides. Use it
to access the pages on which you can find details about a particular use of the
CONFIG command.
Table 4-7. Summary of the CONFIG Command
Command: Topic:
CONFIG CHP Reconfiguring the System Directly
CONFIG CPUAD
CONFIG ESTOR
CONFIG STORAGE
CONFIG VF
CONFIG MEMBER Reconfiguring the System with a CONFIGxx Parmlib
Member on page 4-55
CONFIG OFFLINE Reconfiguring the System in Response to a Configuration
CONFIG ONLINE Display on page 4-56
Syntax
The syntax for each variation of the CONFIG command is shown immediately
preceding its respective parameter list.
CONFIG or CF
See z/OS MVS Recovery and Reconfiguration Guide for more information about
how to reconfigure the resources associated with a processor or a processor
complex. See PR/SM Planning Guide for more information about logical partitions.
CF {{CPUAD|CPU}(x[,x]...)[,{ONLINE|ON}[,VFON ]|,{OFFLINE|OFF}] }
|,VFOFF
{VF(x[,x]...)[,{ONLINE|ON}|,{OFFLINE|OFF}] }
| {{STORAGE|STOR}{(ddddddddM) }[,{ONLINE|ON}|,{OFFLINE|OFF}] }
| {(ddddddddM-ddddddddM)}
{(E=id) }
{ESTOR(E=id)[,{ONLINE|ON}|,{OFFLINE|OFF}] }
{CHP{(xx) }[,{ONLINE|ON}[NOVARY]|,{OFFLINE|OFF}[,UNCOND]] }
{(aa-bb) } |,FORCE
{(list) }
{(ALL,id)}
OFFLINE or OFF
The system is to take offline each specified Vector Facility.
STORAGE or STOR
The system is to reconfigure central storage, both logically and physically. Note
that storage reconfiguration is not supported on all processors and that central
storage reconfiguration in a PR/SM environment without enhanced dynamic
storage reconfiguration must be specified by storage element ID. The starting
and ending addresses of the central storage for which you want the status
display.
| ddddddddX
| The amount of central storage to be reconfigured. Specify up to eight
decimal digits followed by a multiplier (M-megabytes, G-gigabytes,
T-terabytes, P-petabytes) for this amount. Check the configuration of your
processor to see which size storage increments are supported. The value
| for dddddddd must be a multiple of the storage increment size (usually 2, 4,
or 8), and cannot exceed 16383P.
Instead of specifying a decimal amount, you may specify a hexadecimal
amount, with or without a multiplier, in the format X'xxxxxx'. For example:
v X'123456789A00000'
v X'123'M
You may use underscores in any hexadecimal specification for better clarity.
Underscores in the specification are ignored during processing.
| ddddddddX-ddddddddX
The starting and ending addresses of the central storage section to be
| reconfigured. Specify up to eight decimal digits followed by a multiplier
(M-megabytes, G-gigabytes, T-terabytes, P-petabytes) for each address.
| The value for each dddddddd must be a multiple of the storage increment
size (usually 2, 4, or 8), and cannot exceed 16383P. The starting and
ending addresses must not be the same.
Instead of specifying the range using decimal numbers, you may specify it
in hexadecimal, with or without a multiplier, in the format
X'xxxxxx'-X'xxxxxx'. For example:
v X'123456789A00000'-X'123456789B00000'
v X'123'M-X'124'M
You may use underscores in any hexadecimal specification for better clarity.
Underscores in the specification are ignored during processing.
E=id
The storage element to be reconfigured, identified by the storage element
id. Use this parameter only under the direction of a system programmer to
take a storage element offline or online.
ONLINE or ON
The system is to bring the specified storage range or storage element
online. The system rejects the command if you specify:
v An address higher than the storage limit set at system initialization
v An address or an element id for storage that is not available to the
system
OFFLINE or OFF
The system is to take the specified storage range or storage element
offline.
Notes:
1. There can be a delay between the time you enter CONFIG STOR ...
OFFLINE and the time the system issues a message indicating the
storage is offline. This delay occurs when there is activity in the
specified storage; all activity in the storage must stop before the
command can take effect. If the storage does not go offline within a
short time, a message appears that lets you cancel the command.
2. When you issue CONFIG STOR ... OFFLINE without E=id, the system
rejects the command if you specify storage that is either part of the
hardware system area (HSA) or assigned permanently to the system.
Generally, you can take non-preferred (reconfigurable) storage offline,
but, you cannot take preferred (non-reconfigurable) storage offline.
3. When you issue CONFIG STOR ... OFFLINE with E=id, the system
moves any storage associated with the HSA or permanently assigned to
the system to another storage element. The system saves the
addresses of the former storage and displays their address ranges.
| 4. In order to configure a range of storage online through the CONFIG
| STOR(xx-xx),ONLINE command, the subject storage must be in a
| storage element that is online. If a storage element is offline, the only
| way to bring online any storage within that element is to configure the
| entire element online, through CONFIG STOR(E=id),ONLINE.
ESTOR
The system is to reconfigure expanded storage elements.
(E=id)
The expanded storage element to be reconfigured, identified by its storage
element id.
The expanded storage element to be reconfigured, identified by its storage
element id. If you specify E=0 in LPAR mode, the system is to reconfigure
the initial allocation of the expanded storage element (as defined in the
activation profile), unless the initial allocation is zero, in which case E=0 will
reconfigure the reserved allocation. If you specify E=1, the system is to
reconfigure the reserved allocation of the expanded storage element (as
defined in the activation profile), unless the initial allocation is zero, in which
case no storage will be reconfigured.
ONLINE or ON
The system is to bring the specified expanded storage element online. The
system issues message IEE524I to display the ranges of expanded storage
that come online. The system rejects the command if you specify an id for
an expanded storage element that is not available to the system.
If the system cannot bring some of the requested storage online, message
IEE578I displays the total amount of requested storage that is left offline.
OFFLINE or OFF
The system is to take the specified expanded storage element offline. The
system issues message IEE510I to display the ranges of expanded storage
that went offline with the expanded storage element. If the system cannot
reconfigure the expanded storage element physically offline, the system
rejects the command and issues message IEE148I.
Notes:
1. There can be a delay between the time you enter CONFIG ESTOR...
OFFLINE and the time the system issues a message indicating the
expanded storage is offline. This delay occurs when there is activity in
the specified storage; all activity in the storage must stop before the
command can take effect. If the storage does not go offline within a
short time, a message appears that lets you cancel the command.
2. When you issue CONFIG ESTOR...OFFLINE to take an expanded
storage element offline, the system issues a display that tells what
address ranges have been removed.
3. ESTOR processing is not applicable to the z/Architecture environment.
CHP
The system is to reconfigure one or more channel paths.
Note that if you have systems running on a processor at the z990 level or
higher, you can automatically reconfigure channel paths on and offline using the
hardware management console (HMC) instead of issuing the CONFIG
command. On a z990, you may have multiple logical channel subsystems,
which means that if an ESCON card fails, you need to reconfigure 15 channels
being used across 30 different partitions in each logical channel subsystem.
Automatic CHPID reconfiguration lets you issue a reconfiguration request
centrally from HMC, which in turn triggers the z/OS systems in each partition to
issue the CONFIG command. Then only those partitions that cannot process
the request or are not running on a z990 level processor or higher need to be
individually reconfigured with the CONFIG command.
(xx)
A single channel path identified by xx. The channel path identifier may have
a value from 0 to FF.
(aa-bb)
A range of channel paths. The starting and ending channel path identifiers
may have values from 0 to FF.
(list)
One or more single channel paths, ranges of channel paths, or a
combination of single channel paths and ranges of channel paths. ALL,id
cannot be included in the list.
(ALL,id)
All of the channel paths associated with one side of a partitioned processor
complex are to be placed online or offline, where id is the identifier (0 or 1)
of the side. Use ALL,id only when your processor complex is one that can
be partitioned (such as a 3090 Model 400 Processor Complex). Message
IEE172I indicates that all channel paths on a side have been brought online
or taken offline.
want to configure online a channel path that does not currently have a
device connected. Example 10 shows the operator commands and system
responses.
OFFLINE or OFF
The system is to take the specified channel path(s) offline. The system
rejects this command if it would remove the last path to a device that is:
v In use by a system function
v Online
v Allocated
v A TP device
v The only active console in the system
v A coupling facility.
To remove the last path to all other devices, use the CONFIG command
without the UNCOND or FORCE parameters.
OFFLINE
The command processor determines if taking the CHPID offline will
cause a loss of consoles that should not be lost, for example, the MCS
master console. If the MCS master console could be lost, the CONFIG
command processor rejects the command. With SMCS consoles, there
is no way to associate the CHPID to an LU so the command cannot
detect if an SMCS console will be lost.
OFFLINE,UNCOND
The system is to take the specified channel path(s) offline, even if it is the
last path to a device. The system rejects this command if it would remove
the last path to a device that is:
v In use by a system function
v Allocated
v A TP device
v The only active console in the system
v A coupling facility in use by an active XES connection on the system
from which the CONFIG command is issued. (Structures in the coupling
facility can be in use, persistent, or have failed-persistent connectors.)
Use OFFLINE,UNCOND to remove the last path to an unallocated online
device. You cannot do this by specifying OFFLINE alone.
OFFLINE,FORCE
CAUTION: FORCE is a very powerful option. Never specify FORCE
unless you understand all its consequences for your system.
The system is to take the specified channel path(s) offline, even if it is the
last path to a device. The system rejects this command if it would remove
the last path to a device that is:
v The only active console in the system
The last path to all other devices listed in the OFFLINE,UNCOND option
can be removed by the OFFLINE,FORCE option.
Reply CANCEL to leave the channel path and devices online. Reply
CONTINUE if you want to remove the channel path. After you reply
CONTINUE, the following message appears:
IEE507D SHOULD ACTIVE DEVICES HAVE I/O TERMINATED?
REPLY NO OR YES
Reply YES to have the system stop all I/O in progress on the affected
devices, permanently reject all future I/O requests to the devices, and mark
the affected devices pending-offline.
remains the alternate console assigned when the master console went
offline. The original master console remains an alternate console unless you
again make it the master console by issuing the VARY CONSOLE and
VARY MSTCONS commands.
Reply CANCEL to leave the coupling facility online. Reply CONTINUE if you
want to remove the coupling facility.
Example 1
Example 2
To bring online a storage range from real addressses four to eight megabytes,
enter:
cf stor(4m-8m),on
Example 3
Example 4
Example 5
To take channel paths 0-6 offline, even though one might be the last path to an
unallocated online device, enter:
cf chp(00-06),offline,uncond
Example 6
Example 7
If the Vector Facility was online when the system last varied processor 1 offline, the
following command would produce the same result:
cf cpu(1)
Example 8
To bring processor 2 online but keep offline the attached Vector Facility, issue:
cf cpu(2),online,vfoff
Example 9
Example 10
CHP(01) is associated with devices 223 and 224. To correct an error condition,
CHP(01) was configured offline to the system. Problem analysis determined that
device 224 has a hardware problem that cannot be immediately corrected. This
example shows how to configure CHP(01) online without bringing the path to device
224 online.
To display status for devices 223 and 224 before configuring CHP(01) online, issue
the following commands:
d m=dev(223)
d m=dev(224)
The output, which shows that the paths to the devices are not online and not
operational, appears as follows:
IEE174I 09.05.00 DISPLAY M 197
DEVICE 0223 STATUS=OFFLINE
CHP 01
PATH ONLINE N
CHP PHYSICALLY ONLINE N
PATH OPERATIONAL N
IEE174I 09.05.30 DISPLAY M 200
DEVICE 0224 STATUS=OFFLINE
CHP 01
PATH ONLINE N
CHP PHYSICALLY ONLINE N
PATH OPERATIONAL N
To configure channel path 01 online without bringing online the paths to devices
223 and 224, issue the following command:
cf chp(1),online,novary
The system issues the following messages to indicate that not all paths were
brought online:
IEE754I NOT ALL PATHS BROUGHT ONLINE WITH CHP(01)
IEE502I CHP(1),ONLINE
IEE712I CONFIG PROCESSING COMPLETE
To display the status of each device after configuring the channel path online, issue
the following commands:
d m=dev(223)
d m=dev(224)
The output, which shows that the paths to the devices are not online but are
operational, appears as follows:
IEE174I 09.05.40 DISPLAY M 200
DEVICE 0223 STATUS=OFFLINE
CHP 01
PATH ONLINE N
CHP PHYSICALLY ONLINE Y
PATH OPERATIONAL Y
IEE174I 09.05.50 DISPLAY M 200
DEVICE 0224 STATUS=OFFLINE
CHP 01
PATH ONLINE N
CHP PHYSICALLY ONLINE Y
PATH OPERATIONAL Y
To vary the path online for device 223, issue the following command:
vary path(223,01),online
To display the status of devices 223 and 224 after varying the channel path online,
issue the following commands:
d m=dev(223)
d m=dev(224)
The output, which shows that only the path to device 223 is online and operational,
appears as follows:
IEE174I 09.05.55 DISPLAY M 200
DEVICE 0223 STATUS=ONLINE
CHP 01
PATH ONLINE Y
CHP PHYSICALLY ONLINE Y
PATH OPERATIONAL Y
IEE174I 09.05.59 DISPLAY M 200
DEVICE 0224 STATUS=OFFLINE
CHP 01
PATH ONLINE N
CHP PHYSICALLY ONLINE Y
PATH OPERATIONAL Y
CF MEMBER[(member-id)]
Example
In response to this command, the system issues messages IEE521I and IEE522D.
Message IEE521I displays the reconfigurable resources available to the system,
including processors, Vector Facilities and ICRFs attached to the processors, total
amount of central storage, central storage elements, expanded storage elements,
and channel paths. If your processor complex is partitioned, message IEE521I
contains this information for one side. Respond to message IEE522D with the
processors, total amount of central and expanded storage, as well as channel paths
you want to bring online or take offline.
If the system is unable to display the resources available to the system, message
IEE521I indicates that the command was unsuccessful.
|
| CF {ONLINE|ON }[,L={a|name|name-a}]
| {OFFLINE|OFF}
|
ONLINE or ON
The system is to display the system configuration so that you can decide which
processors, Vector Facilities and ICRFs attached to the processors, central and
expanded storage elements, and channel paths you want to bring online. The
system brings online the processors, Vector Facilities and ICRFs attached to
the processors, storage elements, and channel paths you specify in response to
message IEE522D. If an ICRF is attached to a processor that is being brought
online and the Integrated Cryptographic Service Facility/MVS (ICSF/MVS) is
active, the system brings the ICRF online.
OFFLINE or OFF
The system is to display the system configuration so that you can decide which
processors, Vector Facilities and ICRFs attached to the processors, central and
expanded storage elements, and channel paths you want to take offline. The
system takes offline the processors, Vector Facilities and ICRFs attached to the
processors, storage elements, and channel paths you specify in response to
message IEE522D. If an ICRF is attached to a processor that is being taken
offline and the ICSF/MVS is active, the system takes the ICRF offline.
| L=a, name or name-a
The display area where the system is to display the system configuration. You
can specify the display area (a), console name (name), or both (name-a). If you
do not specify this option, the system displays the system configuration in the
first available display or message area of the console on which you entered the
command (unless you specify routing instructions for messages IEE521I and
IEE522D with the MSGRT command, as described later in this chapter).
Example 1
To check the channel paths available to the system before bringing any online,
enter:
cf online
When message IEE522D appears after the configuration display message, IEE521I,
reply with the channel paths you want to bring online.
Example 2
To check the available processors, central and expanded storage elements, and
channel paths in the system and the online or offline status of each, enter:
cf offline or cf online
When message IEE522D appears after the configuration display message, IEE521I,
reply with NONE.
CONTROL Command
Use the CONTROL command to control the screen display of MCS and SMCS
consoles. Table 4-8 summarizes the information that the CONTROL command
provides. Use it to access the pages on which you can find details about a
particular use of the CONTROL command.
Table 4-8. Summary of the CONTROL Command
Command: Topic:
CONTROL A Changing Out Of Line Display Area Specifications on page
4-59
CONTROL C Deleting Retained Action Messages on page 4-60
CONTROL C,D Halting the Printing or the Display of a Status Display on
page 4-62
CONTROL D Controlling Displays in Areas on page 4-62
CONTROL E Removing Information From the Screen on page 4-64
CONTROL M,AMRF Activating, Deactivating, or Displaying the Status of the
Action Message Retention Facility on page 4-65
CONTROL M,APPLID Setting the APPLID of the System on page 4-70
CONTROL M,GENERIC Setting or Turning Off the VTAM Generic Resource Name
for SMCS on page 4-71
CONTROL M,LOGLIM Changing or Displaying the Number of Allowed WTL
SYSLOG Buffers on page 4-66
CONTROL M,MLIM Changing or Displaying the Number of Allowed WTO and
WTOR Message Buffers on page 4-66
CONTROL M,ROUTTIME Changing the Time the System Waits for ROUTE
Command Responses on page 4-67
CONTROL M,RMAX Increasing the Maximum Number of Reply IDs on page
4-68
CONTROL M,UEXIT Changing or Displaying the Status of WTO Installation Exit
IEAVMXIT on page 4-69
CONTROL N,PFK Changing a PFK Definition on page 4-72
CONTROL Q Deleting Message Queues on page 4-74
CONTROL S Changing or Displaying Message Deletion and Format
Specifications on page 4-74
CONTROL T Changing or Displaying Time Intervals for Dynamic
Displays on page 4-78
CONTROL V,USE Changing the Operating Mode of a Console on page 4-79
CONTROL V,LEVEL Selecting the Message Levels for a Console on page 4-80
SEG=
DEL=
RNUM=
RTME=
v K T
v K V,USE
| The system does not support the following variants of the CONTROL command at
| z/OS V1R7 and above:
| v KT
| v K D,H
| v K D,U
Scope in a Sysplex
The following table describes the conditions under which the CONTROL command
has sysplex scope. See Using Commands That Have Sysplex Scope on page
1-11 for an explanation of sysplex scope. If a command has All under Conditions,
then the command has sysplex scope under all circumstances and for all variations.
Table 4-9. Sysplex Scope for CONTROL Command
Command Conditions
CONTROL C,A All
CONTROL C,D Has sysplex scope only when you specify L=.
CONTROL M Has sysplex scope only when you do not specify MLIM,
UEXIT, LOGLIM, or APPLID.
CONTROL other Other parameters of CONTROL have sysplex scope only
when you specify L=.
Syntax
The syntax for each of the many variations of the CONTROL command is shown
immediately preceding its respective parameter list.
CONTROL or K
|
| K A[,nn[,nn]...][,L={name }]
| |,NONE
| |,REF
|
Example
K C,{A|I|E|CE},{id|id-id[,id|id-id]...}
Example 1
To delete a range of immediate action, eventual action, and critical eventual action
messages that have been retained with identification numbers from 0 to 110, enter:
CONTROL C,A,0-110
Example 2
Assume you have completed the requested action for three eventual action
messages, but the messages remain marked as outstanding. Use the DISPLAY R,E
command to get the identification numbers of the three messages (id1, id2, and id3)
and then use K C,E to delete the three messages.
DISPLAY R,E K C,E,id1,id2,id3
Example 3
Assume you have performed the requested immediate action, but the message is
still marked as outstanding. Use the DISPLAY R,I command to obtain the message
identification number and then issue CONTROL C,I to delete the message.
DISPLAY R,I
CONTROL C,I,id
Notes:
1. Specifying a large range of message identification numbers (more than 1000)
can result in system resources being held and performance being impaired.
2. When you delete retained messages, the requests relating to them may still be
outstanding.
3. When you specify a range, certain conditions are not flagged as errors that
would be errors if individual identification numbers were specified. For example,
nonexistent message identification numbers that fall within the range do not
cause an error message. If you specify a nonexistent identification number by
itself, you receive an error message.
The CONTROL C,D command must be entered while the system is displaying or
printing the display.
|
| K C,D,id[,L={a|name|name-a}]
|
Example 1
To stop the status display, identification number 121, which is in progress in the
general message area of console CON21, enter:
k c,d,121,L=CON21
Note: The CONTROL C,D command has no effect on extended MCS consoles or
on system consoles and is not valid for managing these consoles.
Use the CONTROL D command to control displays, message numbering, and the
PFK display line.
|
| K D[,N[,HOLD] ]
| |{,F|,H|,U}[,L={a|name-a}]
| |,PFK
|
Example
|
| K E[,nn ]
| |,nn,nn
| |,SEG
| |,F
| |,N
| |,PFK
| |,D[,L={a|name|name-a}]
|
Example 1
To delete the message at line 10, which appears on the screen as follows:
10 IEE334I HALT EOD SUCCESSFUL
enter:
K E,10
Example 2
Example 3
Example 4
To delete all flagged messages (messages marked with a vertical or horizontal bar
in position 3), enter:
K E,F
The AMRF parameter on the INIT statement in the CONSOLxx parmlib member
controls whether or not the system starts the action message retention facility at
IPL. If the AMRF parameter is not coded, the action message retention facility is
active. Use the CONTROL M command to stop or restart the facility once the
system is active.
K M[,AMRF={Y|N}]
|,REF
Example
The LOGLIM parameter on the INIT statement in the CONSOLxx parmlib member
controls the number of WTL buffers. If the LOGLIM parameter is not coded, the
number of WTL buffers is 1000.
K M[,LOGLIM={nnnnnn|0}]
|,REF
| Note: When you set LOGLIM=999999 you allocate over 100 megabytes of
| CSA storage for WTL SYSLOG buffer storage. Be careful that WTL
| SYSLOG buffer storage does not hamper your systems performance.
LOGLIM=0
All outstanding WTL buffer storage is freed by the system log task.
Note: Use this command value only at the direction of the system programmer.
It results in the potential loss of messages sent to hard-copy.
REF
Displays the current values of all the operands on the K M command. Unless
you specifically change it, the LOGLIM value that the system displays is the
value that was specified on the INIT statement in CONSOLxx parmlib member.
Example
The MLIM and RLIM parameters on the INIT statement in the CONSOLxx parmlib
member control the number of WTO and WTOR buffers. If the MLIM or RLIM
parameters are not coded, the number of WTO buffers is 1500, and the number of
WTOR buffers is 10.
K M[,REF|[,MLIM=nnnn][,RLIM=mmmm]]
Example
Assuming RMAX is set to 9999: To allow the maximum number of WTO message
buffers and WTOR message buffers, enter:
K M,MLIM=9999,RLIM=9999
Changing the Time the System Waits for ROUTE Command Responses
Use the CONTROL M,ROUTTIME command to display or change the maximum
amount of time the ROUTE *ALL, ROUTE systemgroupname, or ROUTE *OTHER
command waits for a response from each system in the sysplex before aggregating
the responses. ROUTTIME applies to any ROUTE command with the *ALL or
systemgroupname operand when issued from any system in a sysplex.
K M[,ROUTTIME=nnn ]
|,REF
system before aggregating the responses. (If not specified in CONSOLxx, the
IBM-supplied default value is 30 seconds.) The nnn value is a decimal number
from 0-999.
If nnn is zero, command responses are not aggregated. The change applies
across the sysplex, and affects ROUTE commands issued after the CONTROL
command is processed.
If the timeout value (T= operand) is specified on a ROUTE *ALL or ROUTE
systemgroupname command, the value of the T= operand overrides the value
then in effect on the system.
REF
Displays the current values of all the operands on the K M command.
Example 1
Example 2
K M[,RMAX=nnnn ]
|,REF
Note: The value for RMAX also determines the size of the reply ID displayed in
the message text. For example, specifying an RMAX of 999 means that
all WTOR messages have a 3-character reply ID.
You can increase the value of RMAX only in a system running in local mode or
in a sysplex whose couple data set supports more than eight systems.
The new value of RMAX must be greater than the previous value of RMAX.
REF
Displays the current values of all the operands on the K M command.
Example
K M,RMAX=200
The UEXIT parameter on the INIT statement in the CONSOLxx parmlib member
controls whether IEAVMXIT is active at IPL. If the UEXIT parameter is not coded,
IEAVMXIT will be activated, if it is installed. If IEAVMXIT is not installed, the system
will IPL with UEXIT=N.
K M[,UEXIT={Y|N}]
|,REF
Example 1
Example 2
To load a new copy of the general WTO installation-exit routine IEAVMXIT, first
enter:
K M,UEXIT=N
After you receive notification that the library lookaside (LLA) is refreshed, enter:
K M,UEXIT=Y
Displaying the SMCS APPLID of the current system and VTAM generic
resource name for SMCS
Use the CONTROL M,REF command to display the SMCS APPLID of the current
system and VTAM generic resource name for SMCS.
If either of these values has been changed by a prior CONTROL M command, but
SMCS has not yet been recycled using the VARY NET,INACT and VARY NET,ACT
commands to deactivate and restart the SMCS application, CONTROL M will show
the new APPLID and GENERIC, even though SMCS will be using the old APPLID
and GENERIC. The DISPLAY CONSOLES,SMCS command can be used to display
the APPLID and GENERIC in use on each system in the sysplex, as well as the
APPLID and GENERIC set by the CONTROL M command.
K M[,REF]
For the new APPLID to take effect, after issuing the CONTROL M command to
change it, the VARY NET,INACT,ID=oldapplid[,I or ,F] command must be issued to
deactivate SMCS, followed by the VARY NET,ACT,ID=newapplid command to
activate SMCS using the new APPLID. This is sometimes referred to as recycling
the APPLID or recycling SMCS. Until SMCS is recycled, the old APPLID value is
still in use. Message IEE821E is issued to reflect the need to recycle SMCS.
K M,APPLID=aaaaaaaa
Example:
Systems SY1 and SY2 are in a sysplex. System SY1 is using APPLID SMCS1,
and SY2 is using APPLID SMCS2. To change SY1s APPLID to SMCSA, enter:
K M,APPLID=SMCSA
to change the APPLID. However, SY1 will continue to use SMCS1 as its
APPLID until SMCS is recycled with the following commands:
VARY NET,INACT,ID=SMCS1,I
VARY NET,ACT,ID=SMCSA
Setting or Turning Off the VTAM Generic Resource Name for SMCS
Use the CONTROL M,GENERIC command to set or turn off the VTAM generic
resource name for SMCS in the sysplex.
For the updated GENERIC value to take effect, after issuing the CONTROL M
command to change it, the VARY NET,INACT,ID=applid[,I or ,F] command must be
issued to deactivate SMCS, followed by the VARY NET,ACT,ID=applid command to
reactivate SMCS using the new GENERIC value. This is sometimes referred to as
recycling the APPLID or recycling SMCS. Each SMCS application in the sysplex
will continue to use the old GENERIC value until it is recycled. It is not necessary to
recycle all of the SMCS applications at the same time, however, this may result in
some systems using the old value of GENERIC and others using the new value of
GENERIC until all SMCS applications in the sysplex are recycled.
K M[,GENERIC={aaaaaaaa}]
|{*NONE*}
Example:
Systems SY1 and SY2 are in a sysplex. System SY1 is using APPLID SMCS1,
and SY2 is using APPLID SMCS2, and the current GENERIC is SMCSX. To
change the GENERIC to ANYSMCS, on either SY1 or SY2, enter:
K M,GENERIC=ANYSMCS
SY1 and SY2 will continue to use SMCSX as the GENERIC until SMCS is
recycled on each system. To recycle SMCS on SY1, issue the following
commands:
VARY NET,INACT,ID=SMCS1,I
VARY NET,ACT,ID=SMCS1
A PFK command that you assign to a PFK by using the CONTROL N,PFK
command is not associated with the PFK when you bring the console online again.
To have a command associated with a PFK when you bring a console online, it
must be defined in the appropriate PFK table in PFKTABxx. See Defining PFKs
Using the CONTROL Command on page 3-19.
Use the following form of the CONTROL command to define commands for
program function keys (PFKs) or assign a PFK table.
|
| K N,PFK={(nn1{,CMD=text[;text]...})[,CON={Y|N}] }
| { {,KEY=nn2[,nn2]... } }
| { }
| {nnnnnnnn[,L=name] }
|
Note: Text characters should not contain sensitive or secure data (such as
passwords).
KEY
The commands associated with other PFKs are to be associated with nn1.
nn2[,nn2]...
The number(s) of the PFK whose commands are to be associated with PFK
nn1. Up to 54 key numbers (numbers can be repeated) can be included in
the list. Separate key numbers with a comma.
Note: You cannot nest the lists of keys. That is, a PFK defined as a list of
PFKs cannot be included in a list of keys assigned to another PFK.
For example, if PFK 5 is associated with a list of keys (such as
KEY=3,4), and you attempt to associate PFK 6 with a list of keys
that includes PFK 5 (such as KEY=1,2,5), the system rejects the
request.
CON
Specifies whether conversational mode of command entry is in effect.
Y Conversational mode of command entry is to be in effect.
N Conversational mode of command entry is not to be in effect
(non-conversational mode of command entry is to be in effect). If CON
is not specified, CON=N is assumed.
nnnnnnnn
The name of the PFK table that contains the commands that define the
PFKs for a console.
| L=name
The console whose PFKs are to be defined by the PFK table you
specify. The issuing console is the default.
Example 1
Example 2
Example 3
The commands associated with PFK 5 are now S RDR,001; S XWTR,292, and S
GTF,MODE=INT,BUF=387,TIME=YES,DEBUG=YES, in that order.
Example 4
To remove a definition previously set for PFK 5, leaving PFK 5 undefined, enter:
K N,PFK=(5,CMD=)
Example 5
Note: The CONTROL N,PFK command has no effect on extended MCS consoles
or on system consoles and is not valid for managing these consoles.
The command gives you more control over MCS and SMCS console message
queues. If there is a WTO buffer shortage, you can delete the messages to speed
up console processing or alleviate storage problems. You might need to issue the
command several times to clear the console of messages.
Note: This CONTROL command is not valid for extended MCS consoles or
extended MCS console message queues.
|
| K Q[,L=name]
|
Example 1
Example 2
|
| K S[,REF ]
| |
| |[,CON={Y|N}][,SEG=nn][,DEL={Y|N|R|RD|W}]
| [,RNUM=nn][,RTME=nnn][,MFORM=(option[,option]...)]
|
| [,L=name]
|
You can enter more than one of the options. If you do, place parentheses
around the list of options and separate them with commas. The system displays
the information that accompanies the message text in the order described,
regardless of the order of the options you specify on the MFORM operand.
option can be any of the following:
T Requests that each message appear with a time stamp.
S Requests that each message appear with the name of the system that
sent the message.
J Requests that each message appear with the job name or job ID
associated with this message.
Note: This value is initially the job name or ID of the issuer of the
message, but either the issuer or subsystem code can change
the value. For example, messages that JES issues often change
the initial value from the JES name/id to that of the job the
message is describing.
M Requests that the text of each message appear without a time stamp,
the job name/job ID of its issuer, or the name of the system that sent
the message. The text of the message is displayed whether or not you
use this operand. At IPL, if the MFORM operand in the CONSOLxx
parmlib member is not coded, the system displays the message text
without time stamp, system name, or job name/ job id.
Example 1
Example 2
Example 3
K S,REF or K S
Example 4
Example 5
To display all messages on the full-capability console named CON5 with time
stamps and the job names/job IDs of their issuers, enter the following command
from the master console:
K S,MFORM=(M,T,J),L=CON5
Notes:
1. The system displays the time stamps and the job names/job IDs in the order
described earlier.
2. Whether or not you specify the option M, the system displays the text of the
message.
Use the CONTROL T command to change the time interval or to see the current
time interval used for updating dynamic displays on a console.
K T[,REF ][,L=name ]
|,UTME=nnn
Notes:
1. If the issuing console is not a display console, the system responds to the
CONTROL T,REF command with the following:
IEE922I K T,UTME=nnn
The current time interval is indicated by nnn. You can change the time interval
by entering another CONTROL T,UTME command.
2. In general, if there is a dynamic display in progress when you change the time
interval, the new interval does not take effect until the interval in progress
elapses. If a K D,U command is directed to the display area, however, the new
interval takes effect immediately.
3. The CONTROL T command has no effect on extended MCS consoles or on
system consoles and is not valid for managing these consoles.
|
| K V[,REF ][,L=name ]
| |
| |,USE={FC|SD|MS}[,CMDSYS={sysname|*}]
|
Note:
1. If you issue the VARY command to take the console offline and then
bring the console online, the console will resume the operating mode
in effect when the console was taken offline.
2. K V USE=SD and K V USE=MS operating modes are not valid for
SMCS consoles.
REF
Displays the current value of the CONTROL V,USE operand.
CMDSYS
Indicates the system where all commands will be sent for processing.
sysname
The system where all commands are to be sent. If this keyword is not
specified or is incorrect, the commands are processed on the system where
you issue the command.
* The system where you issue the command.
| L= name
The name of the console where the specified action is to take place.
Note: The CONTROL V,USE command has no effect on extended MCS consoles
or on system consoles and is not valid for managing these consoles.
Example
To direct all commands issued from this console to processor SY2, enter:
K V,CMDSYS=SY2
|
| K V[,REF ][,L=name ]
| |
| |,LEVEL=(type[,type]...)
|
Example 1
Example 2
To route WTOR, immediate action, and broadcast messages to the issuing console,
enter:
K V,LEVEL=(R,I)
Example 3
To route all messages except broadcast messages to the issuing console, enter:
K V,LEVEL=(ALL,NB)
To suppress all broadcast and informational messages destined for the issuing
console, enter:
K V,LEVEL=(NB,UNCOND)
DEVSERV Command
Use the DEVSERV command to request a display of the status of DASD and tape
devices. The response is a display of basic status information about a device, a
group of devices, or storage control units, and optionally can include a broad range
of additional information. You can display:
v Device number
v Device type
v Logical mode of the device
v Number of data sets allocated on the volume
v Volume serial label
v Channel path ID
v Status of the path
v Status of an SMS-managed device
Volume status
Storage group name
Storage group status
v Control unit type and model
v Control unit serial number
v Device capacity, in cylinders
v Device extended function status
v Unit control block (UCB) device type information
v Help text, when you request it
v The following, if the device belongs to the DASD storage subsystem:
Real device type (if what is shown is an emulated device type)
Control unit type and model (or emulated control unit type and model if the
real and emulated control units are not the same)
Subsystem ID for this storage subsystem
Cache fast write state
Track caching state
DASD fast write state
State of pinned data
State of dual copy, PPRC, or SPARing -- if there is any
Address of the other device in a dual copy pair
Channel subsystem device address
Subsystem internal logical device address
An indication if the device extended function status information is inconsistent
between MVS control blocks and the storage subsystem
An indication if the defined (UCB) device type is inconsistent with the real
device type
Optionally, the total number of cylinders for each unique track format (3380,
3390, and 9345) for all of the devices within the scope of the request
v The following, if the device belongs to a tape library:
Device type equivalent to DTYPE from the DS P command
Device status indicating online / offline and ready / not ready
Device type and model
Device serial number
Library identification number
An indication if the defined (UCB) device type is inconsistent with the real
device type
You can also use several options of the DEVSERV command:
| v You can compare the DEVSERV PATHS command with the DISPLAY U and
| DISPLAY M commands by referring to Displaying the Status of Devices and
| Availability of Paths on page 1-10.
| v Using the DEVSERV QDASD option
| v Using the DEVSERV QTAPE option
| v Using the DEVSERV QLIB option
Syntax
The syntax for the DEVSERV command is:
DS {PATHS|P},[/]devnum[,nn][,ONLINE|,ON ][,NOSYM|,NOS][,DUMP]
{SMS|S } |,OFFLINE|,OFF
| [,L=a,name,name-a]
{QDASD | QD}[,? |
{QTAPE | QT}[,? |
{QPAVS | QP},{dddd}
{dddd,nn}
{SSID=ssid}
| {dddd,{VOLUME | UCB | DCE | UNBOX}}
| [QLIB | QL],
| [LIST] {ACTIVE|INACTIVE|QUEUE}
| [LISTALL] {ACTIVE|INACTIVE}
| [LIBID] {ACTIVE|INACTIVE|VALIDATE|QUEUE|DELETE}
| [DDDD] {SS}
| [?]
Parameters
The basic status parameters are:
PATHS or P
Displays (in message IEE459I) the status of specified devices. The display
includes any device(s) the Storage Management Subsystem (SMS) manages,
but does not show any SMS information such as the status of any volume or
storage group associated with the device(s).
SMS or S
Displays (in message IGD001I) the volume and storage group status for nn
devices that SMS manages, starting with the specified device number.
[/]devnum
The device number for which the system is to display information. The number
consists of three or four hexadecimal digits, optionally preceded by a slash (/).
You can specify any device that the operating system supports, except that with
the SMS operand, the system displays the status of the volume and the storage
group only for devices that SMS manages.
nn The number, from 1 to 32, of devices for which the system is to display the
information, in ascending order beginning with the device you specify. If you do
not code nn, the default is 1, and the system displays information only about
the device you specify.
ONLINE or ON
Directs the system to display information about only those specified devices that
are online to this MVS host. If you do not specify ONLINE or OFFLINE, the
system displays information about both online and offline devices.
OFFLINE or OFF
Directs the system to display information about only those specified devices that
are offline to this MVS host. If you do not specify ONLINE or OFFLINE, the
system displays information about both online and offline devices.
NOSYM or NOS
Directs the system not to display (with message IEE459I) the definitions of
symbols. If you omit NOSYM, the system displays the definition of all the
symbols. You may use this parameter with PATHS, but not with SMS.
DUMP
Requests an SVC dump after execution of the DEVSERV PATHS command. If
you specify both DUMP and a value for nn, the system ignores the value for nn.
The SVC dump will cause an 0C1X abend. You may use this parameter with
PATHS, but not with SMS.
| L=a , name, or name-a
The display area (a), console name (name), or both (name-a) where the display
will appear. If you omit this operand, the display appears in the first available
display area or in the message area of the console at which you entered the
command.
QDASD or QD
Displays (in message IEE459I) diagnostic information about the status of direct
access storage devices and storage control units. You use two classes of
QDASD parameters to control the scope of the display: unit selection
parameters and dump selection parameters.
v Use unit selection parameters to identify the units whose information you
want to see. These parameters include ccuu and nnn, VOL, MACH, SSID,
TYPE, ONLINE, OFFLINE, DEFINED, and CHKFAIL.
v Use the dump selection parameters, to define the contents of the display.
Beyond the basic status information, you can specify which of the following
MVS system control blocks, and/or what information acquired directly from
the following device information buffers, to display in hexadecimal format.
The system control blocks are UCB, DCE, SSSCB, and DPCT.
If you specify the parameter NOIO, the display will show only the storage
resident information in the MVS control blocks; the command will not
issue any I/O to the selected devices.
The device information buffers are RDC, RCD, and SNSS.
Any hexadecimal information you request appears following the basic status
information.
In addition, there is one action parameter, VALIDATE, and one display request
parameter, TOTALCYL.
QDASD-specific Unit Selection Parameters
? Enter the command DEVSERV QDASD,? to view online help text.
ccuu
The number of the DASD device you are querying.
nnn
The number of DASD devices or units to query. Valid values are from 1 to 256.
The default is 1.
VOL=volser
The serial number of the volume whose information DEVSERV will display. The
volume must be online to the system where you issue the DEVSERV
command.
MACH=mmpp-sssss | XXXX-sssss
A ten-character serial number specifying either the storage control unit or DASD
device about which DEVSERV will display information. If you specify
XXXX-sssss, the search will be done only on the sssss portion of the number.
MACH= will cause an I/O operation for each DASD in the system. To limit the
number of I/O operations, specify ccuu and nnn.
SSID=ssid | ALL
Specifies the identification number of the subsystem whose information
DEVSERV will display. Valid ssid numbers are from 1 to FFFF.
SSID=ssid will cause an I/O operation for each DASD in the system. To limit the
number of I/O operations, specify ccuu and nnn.
SSID=ALL requests a display of information for all DASD devices that support
the RCD (Read Configuration Data) command.
TYPE=type | ALL
Specifies the type of DASD or storage control unit about which DEVSERV will
display information. Valid type values are 3380, 3390, and 9345. TYPE=ALL
causes the system to display information for all DASD devices that meet all
other selection criteria. TYPE= will cause an I/O operation for each DASD in the
system. To limit the number of I/O operations, specify ccuu and nnn.
ONLINE or ON and OFFLINE or OFF
See the basic status parameters, above.
DEFINED
Displays information about all DASD units defined in the current I/O
configuration that meet all other selection criteria. The display contains
information based on the existence of unit addresses (UCBs) for DASD type
devices, and not on the existence of physical devices. Therefore, the display
may contain information even for unit addresses that have no accessible
physical devices, or for which an accessible physical device type is inconsistent
with the defined device type.
CHKFAIL
Directs the system to display information about a device with a status that is
inconsistent between the MVS control blocks and the device. This parameter
requires a unit address with a physical device attached to it. CHKFAIL will
cause an I/O operation for each DASD in the system. To limit the number of I/O
operations, specify ccuu and nnn.
VALIDATE
Uses status information acquired directly from a device to correct inconsistent
extended function status information maintained in host processor storage.
VALIDATE has no effect if the unit address has no physical device attached.
TOTALCYL
Accumulates device capacities during the scan. Valid track formats are 3380,
3390, and 9345. For each valid track format, the total capacity for all accessible
devices will appear at the end of the DEVSERV QDASD display.
QDASD Dump Selection Parameters
Parameters that are only valid when (a) specifying ccuu, and nnn has a value of
1, or (b) when specifying the VOL=volser parameter. Dump selection parameter
information appears in hexadecimal format. The parameters are:
UCB unit control block
DCE device class extension block (of the UCB)
SSSCB storage subsystem control block
DPCT device performance characteristics table
RDC read device characteristics
RCD read configuration data
SNSS sense subsystem status
NOIO no input/output requests
NOIO prevents I/O requests and allows a display only of storage resident
information. All other dump selection parameters cause I/O operations.
QTAPE or QT
Displays identification, status, and diagnostic information about tape devices in
MVS/390 configurations. You can request information about a specific tape
device or multiple tape devices. The DEVSERV QTAPE command can obtain
information from any tape device that is responsive to the SENSEID command.
You use two classes of QTAPE parameters to control the scope of the display:
unit selection parameters and diagnostic information selection parameters.
v Use unit selection parameters to identify the units whose information you
want to see. These parameters include ccuu and nnn, LIB, MACH, TYPE,
ONLINE, OFFLINE, and DEFINED.
v Use diagnostic information selection parameters to define the contents of the
display. Beyond the basic status information, you can select which of the
following MVS system control blocks, and/or what information acquired
directly from the following device information buffers, to display in
hexadecimal format.
The system control blocks are UCB and DCE.
If you specify the parameter NOIO, the display will show only the storage
resident information in the requested MVS control blocks; the system will
not issue an I/O to the selected device.
The device information buffers are RDC and RCD.
Any hexadecimal information you request appears in the display following the
basic status information.
QTAPE-specific Unit Selection Parameters
? Enter the command DEVSERV QTAPE,? to view online help text.
ccuu
The number of the starting, or only, tape device you are querying.
nnn
A decimal value indicating the number of sequential device numbers, starting
with ccuu, for which to display information.
Valid values for nnn are from 1 to 256. The default is 1. The value must be
defaulted (unspecified), or specified with a value of 1, if you are specifying any
diagnostic information selection parameters. nnn is valid only when you also
specify ccuu.
nnn has a different meaning for DEVSERV QTAPE than for DEVSERV PATHS
or DISPLAY UNITS. For those commands, nnn indicates the number of device
numbers to display, ignoring gaps in the device number sequence. For the
DEVSERV QTAPE command, if gaps exist in the sequence of tape device
numbers defined to the operating system, and DEFINED is not specified, the
missing tape device numbers are listed in the form ...nnnn(01)... where nnnn is
the device number and 01 is the reason code indicating that no unit control
block was found for that device number. If DEFINED is specified, the display
contains no information for missing device numbers.
LIB=libid | ALL
Requests information about the devices having the specified libid. If you specify
LIB=ALL, the display will show information for all library tape devices. LIB= is
mutually exclusive with MACH= and TYPE=.
MACH=mmpp-sssss
A ten-character serial number of either a tape control unit or a tape device. The
display will show information for the specific device, or for all devices on the
tape control unit having the serial number mmpp-sssss. If you specify the
mmpp portion as XXXX, the command processor will ignore the manufacturer
and plant of manufacture fields of the serial number, and will search only on
sssss, the sequence number portion. MACH= is mutually exclusive with LIB=
and TYPE=.
TYPE=type | ALL
Specifies the type of tape device or control unit about which DEVSERV will
display information. Valid values for type include any valid four character tape
device or tape control unit number.
TYPE=ALL causes the system to display information for all tape devices that
meet all other selection criteria, such as ONLINE, OFFLINE, and DEFINED.
TYPE= is mutually exclusive with LIB= and MACH=.
ONLINE or ON and OFFLINE or OFF
See the basic status parameters, above.
DEFINED
Displays information about all tape units defined in the current I/O configuration
that meet all other selection criteria.
The display contains information based on the existence of unit addresses
(UCBs) for tape type devices and not on the existence of physical devices.
Therefore, the display may contain information even for unit addresses that
have no accessible physical devices, or for which an accessible physical device
type is inconsistent with the defined device type.
The system ignores DEFINED if you also specify LIB= or MACH=, as these
options require the existence of a physical device.
If you specify both DEFINED and TYPE=ALL, the display will include
information for all tape units defined in the configuration.
If you specify both DEFINED and TYPE=type, where type is other than ALL,
the display will include information only for units of the type type. Valid type
values are 3400, 3480, 3490, and 3590.
For the 3400 device type, QTAPE supports only the devices that are responsive
to the SENSEID command. For other tape devices, QTAPE annotates the
display with reason code 9: QTAPE is not supported.
NOIO calls for a display of processor storage resident information only. The
command processor issues no I/O requests to the device(s). The display will
contain only unit numbers and device types defined in MVS. NOIO is valid only
when specified in combination with UCB and DCE. NOIO is mutually exclusive
with RDC and RCD, because those parameters can be acquired only via an I/O
operation with the device.
QPAVS or QP
Displays the logical subsystem configuration as defined to the host software,
and highlights any inconsistencies between the host configuration definition and
the subsystem configuration for parallel access volumes (PAVs).
dddd
Specifies a three- or four-digit device number.
nn Specifies the number of devices, a decimal number from 1 to 256.
ssid
Specifies the subsystem identification number (SSID) of the subsystem whose
information DEVSERV will display.
VOLUME
Displays the parallel access volume (PAV) relationship information for the
logical volume, including the PAV base device number and all PAV alias device
numbers bound to that base.
UCB
Displays the unit control block (UCB) information associated with the device.
| DCE
| Displays the device class extension block (DCE) of the BASE UCB.
UNBOX
Causes QPAVS to unbox the unbound alias device if it is in a BOX state.
| QLIB or QL
| Displays (in message IEE459I) the requested DEVSERV library information.
| You use two classes of QLIB parameters to control the scope of the display:
| parameters and sub-parameters.
| QLIB Parameters
| LIST
| Indicates that QLIB should display a list of the ACTIVE library-ids (the default).
| You can optionally generate a list of INACTIVE library-ids or QUEUEd library
| orders. LIST uses the sub-parameters ACTIVE, INACTIVE, and QUEUE.
| LISTALL
| Produces a detailed list of all libraries, including the devices and port-ids within
| each library. LISTALL uses the sub-parameters ACTIVE and INACTIVE.
| LIBID
| Indicates that the request is for a specific library. LIBID uses the
| sub-parameters ACTIVE, INACTIVE, VALIDATE, QUEUE, and DELETE.
| DDDD
| Indicates that the request is either for the library that contains device dddd, or is
| for the device dddd itself. A sub-parameter is required when DDDD is specified.
| DDDD uses the sub-parameter SS.
| ? Causes QLIB to display the command syntax.
| QLIB Sub-parameters
| ACTIVE
| Displays information about the library configuration that is currently in use by
| the system.
| INACTIVE
| Displays information about the library configuration that becomes active
| following the next IODF activate. The INACTIVE configuration is similar to
| ACTIVE, but may contain additional devices or libraries.
| VALIDATE
| Displays the same information as the INACTIVE configuration. However, before
| the configuration is displayed, I/O is issued to each device in the configuration
| to validate connectivity to the host.
| DELETE
| Indicates that QLIB should delete the INACTIVE control blocks for library LIBID
| and not affect the existing ACTIVE library definition. The DELETE command is
| used to remove incorrectly defined library control blocks so that they can be
| rebuilt. DEVSERV DELETE provides an alternative to the method described in
| information APAR II09065, which requires two IODF activates.
| The DEVSERV QLIB method is as follows:
| 1. Use QLIB DELETE to delete all of the devices from the incorrect control
| blocks.
| 2. Choose one action depending on whether you have LIBID and LIBPORT
| coded in the IODF:
| v If LIBID and LIBPORT are coded, use QLIB LIST to display that the
| INACTIVE control blocks have been deleted.
| v If LIBID and LIBPORT are not coded, use the VARY command to vary
| online the devices in the library. This will create control blocks. The
| system issues message IEA437I, for example:
| IEA437I TAPE LIBRARY DEVICE(dev), ACTIVATE IODF=XX, IS REQUIRED
| 3. Use ACTIVATE IODF to redefine the devices.
| 4. Use QLIB LIST to display that the ACTIVE control blocks are properly
| defined.
| QUEUE
| Lists the library orders that are waiting to be completed. Such orders include:
| v MOUNT
| v DEMOUNT
| v EJECT
| v AUDIT
| When an order completes, the library notifies the host and the order is removed
| from the queue. This QLIB display can list orders for all libraries, or be limited
| for a single library.
| SS
| Indicates that QLIB should issue a diagnostic state save to the library
where:
v Host Configuration
dddd = the device number
aa = the unit address from the host configuration
BASE = dddd is a BASE device
ALIAS-bbbb = the dddd is an ALIAS device, the BASE is at address bbbb
NON-PAV = the unit is neither a BASE nor an ALIAS
v Status
INV-ALIAS = on the host side, the unit is defined as an ALIAS whose BASE is
different from the one on the subsystem side
NOT-BASE = on the host side, the unit is a BASE, while on the subsystem
side it is not
NOT-ALIAS = on the host side, the unit is an ALIAS, while on the subsystem
side it is not
NON-NPAV = on the host side, the unit is not a BASE nor an ALIAS, while on
the subsystem side it is an ALIAS
v Subsystem Configuration
ssss = the SSID of the subsystem where device dddd belongs
uu = the unit address from the subsystem configuration
BASE = the unit is a BASE
ALIAS-bb = the unit is an ALIAS device and the BASE is at unit address bb
NC = the unit is neither a BASE nor an ALIAS
where:
v e..... = The DEVSERV QPAV UNBOX command has been executed successfully.
v e..... = The DEVSERV QPAV UNBOX command has been executed with a return
code of yy and a reason code of zz.
v e..... = dddd is not an unbound PAV-ALIAS device. The DEVSERV QPAV
UNBOX command is not executed.
v e..... = dddd is not in BOX state. The DEVSERV QPAV UNBOX command is not
executed.
Examples
Example 1
Example 2
Example 3
To display the status of all online devices with device numbers 380 through 38F,
enter:
DS P,380,16,ON
Example 4
To display the status of SMS-controlled device 430 and the seven devices whose
addresses follow it, enter:
ds s,430,8
Example 5
The following two sample displays compare the response to DEVSERV P with the
response to DEVSERV S. Note that DEVSERV P provides volser and CHPID
information, while DEVSERV S provides SMS volume and storage group status.
Example 6
The extra header line and data line appear in the response only when there are
3990 Model 3 Storage Controls in the system. If record caching has not been
installed, the RC column in the third header line is left blank.
Example 7
Example 8
Example 9
Example 10
This example uses the DEVSERV QTAPE command to diagnose an error, namely
an inconsistent device definition.
a. VARY ONLINE fails.
V 931,ONLINE
DS QT,931,1
Example 11
This example illustrates the help text provided when you issue the command:
DS QT,?
Example 12
This example illustrates the basic DEVSERV QTAPE display without hexadecimal
data.
DS QT,TYPE=ALL
Example 13
These three variations illustrate the DEVSERV QPAVS command when the UNBOX
parameter is not specified.
DS QP,D2FF,VOLUME
Example 14
This command illustrates the DEVSERV QPAVS command when the UNBOX
parameter IS specified.
DS QP,E200,UNBOX
| Example 15
| This example illustrates the use of DEVSERV QLIB to delete the INACTIVE control
| blocks for library 10382.
| DS QL,10382,DELETE
|
|