You are on page 1of 2

MVS COMMANDS

CANCEL COMMAND
The CANCEL command is used to immediately terminate a job in execution, a TSO user, a MOUNT
command or output processing for a job. Examples are:

C U=userid cancels a TSO user


C jobname cancels a jobname
C jobname,DUMP cancels a jobname with a dump

DISPLAY COMMAND
The DISPLAY command is used to obtain information about system IO, job and console status, and time of
day. You can display jobs in execution, device status and allocation, status of hardware configuration, time
and date, number of active jobs, tso users, initiators, VTAM network activity and functions, dump options
and system requests. Examples are:

DA displays jobs running and TSO users


D R,L displays jobnames and outstanding requests
DM displays current matrix configuration
D M=CPU displays channel map for CPU
display of map shows operators
(.) not on system
(-) offline to system
(+) online to system
D A,L displays active jobs and TSO users on system
D J,L displays only jobs currently running
DR displays any outstanding operator requests
D TS,L displays current TSO users logged on
D U,TAPE,ONLINE displays status of device address xxx
D PFK displays a list of your program function keys and how they are defined
D U,UR displays unit record devices
D U,TAPE displays all tape unit addresses defined to the system
D U,DASD displays all disk addresses defined to the system
D U,TAPE,ALLOC,uuu,1 displays if a tape unit is attached to a specific job

FORCE COMMAND
The FORCE command is used when the CANCEL command fails. This command allows the operator to
force termination of a mount command, force termination of a job in execution, force termination of
external writer allocation, force termination of output processing for a job or force termination of a terminal
session. Examples are:

FORCE jobname forces jobname from the system


FORCE xxx device allocation for writer xxx is discontinued and the writer is terminated
FORCE U=userid forces userid off the system
MODIFY COMMAND
The MODIFY command is used to change the existing parameters of an existing job, TSO/VTAM, or an
external writer. MODIFY is also used to change the characteristics of a job. The specified parameters are
modified only if the programmer has set the proper indicators. Examples:

F xxxxxx,yy changes the parameters in jobname xxxxxx by specifying yy as


indicated by the programmer
F TSO,USERMAX=nn change the number of TSO users
F ROSCOE,SHUTDOWN NOW terminates ROSCOE immediately
F ROSCOE,STATUS displays number of ROSCOE users
F cicsname,CEMT PER SHUT terminates CICS (add I at the end for immediate)

VARY COMMAND
The VARY command is used to control assignments and configurations of I/O devices, channels, or
CPU’s. By using the VARY command, the operator has the ability to vary I/O devices on or offline, vary
channels on or offline, vary processors on or offline, change MCS assignments or place a path on or offline.
Examples are:

V PATH(xxx,chpid),ONLINE vary path to device xxx online


(xxx = device, chpid = chip identifier)
V PATH(xxx,chpid),OFFLINE vary path to device xxx offline
(xxx = device, chpid = chip identifier)
V CH(x,0),OFFLINE vary channel x offline to system
V CH(x,0),ONLINE vary channel x online to system
V xxx,ONLINE vary device online to system
V xxx,OFFLINE vary device offline to system
V NET,ACT,ID=1vxxx activate lvxxx online to VTAM
(lv = local video, xxx= term id)
V NET,ACT,ID=xxx activate line xxx to VTAM
V NET,INACT,ID=xxx inactivates line xxx to VTAM

MVS CONSOLES

D CONSOLES displays the consoles


V ###,CONSOLE varies a device (###) to be a console
V ###,MSTCONS make a device (###) a master console

When the master console switches from one to another the following message is displayed:
IEE129I CONSOLE SWITCH, OLD=### NEW=### REASON=VMST

You might also like