IBM z/OS: MVS Commands and mainframe Quick Reference Guide

Summary: Basic commands for various IBM z/OS operating systems and some mainframe (MVS) Open Systems Terminology Quick Reference Guide

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

zOS Multiple Virtual Storage (MVS) Commands
Basic MVS commands for various IBM operating systems are listed below. This list should be used as a reference only and site operations personnel are the ones to issue console commands.

Vary Device                         V 145,OFFLINE V 145,ONLINE

If Vary Device Offline Fails        V 145,OFFLINE,FORCE

Vary Multiple Devices               V 140-15F,OFFLINE                                                                            V 140-15F,ONLINE

Vary Path                           V PATH(145,02),OFFLINE                                                                       V PATH(145,02),ONLINE

Vary Path to Multiple Devices       V PATH(145-15F,02),OFFLINE                                                                   V PATH(145-15F,02),OFFLINE

Configure CHPID                     CF CHP(xx),OFFLINE                                                                           CF CHP(xx),ONLINE

Configure CHPID Offline             CF CHP(xx),OFFLINE,UNCOND 
Even If It is the Last Path to a Device

Display Unit Status of 1 device      D U,,,145,1

Display Range of Units              D U,,,145,8 
(This will display 8 devices 140-147)

Display Device Address of VOLSER     D U,VOL=xxxxxx (xxxxxx is the VOLSER name)

Display Tasks Allocated to a Device    D U,,ALLOC,145,1

Display All Config Information         D M

Display Device Matrix of Attached     D M=DEV(145)
Paths and their Status

Display All Devices Available to CHPID   D M=CHP(02)

DEVSERV Display for Device            DS P,145,1

DEVSERV Query DASD                    DS QD,145

Display MIH for all Device to Path    D IOS,MIH,TIME=ALL

Display MIH for a Device              D IOS,MIH,DEV=cuu

Set MIH for a Device or Range         SETIOS MIH,DEV=(cuu-cuu),TIME=mm:ss

Display Resource Contention Information   D GRS,C
for ENQs and RESERVEs

Display All Outstanding Replies        D R,L

Display Active Batch Jobs              D J,L

Display Time Sharing Users             D TS,L

Display Active Tasks                   D A,L

Display Processor Status & Serial Number D M,=CPU

Display Central Storage                D M=STOR

Display Expanded Storage               D M,ESTOR

Display All Active System Consoles     D C

Display All Inactive System Consoles   D C,N

Display PFK Keys                       D D

Display Title Info about each Dump Dataset  D D,T

Display Dynamic APF List               D PROG,APF

Display Page Datasets and Utilization   D ASM

Display All Online DASDs               D U,DASD,ONLINE

Display All Online Tape Device         D U,TAPE,ONLINE

DEVSERV Query DASD xxxx                DS QD,xxxx

Display Info regarding last IPL (Initial Program Load)   IPL D IPLINFO

Display Volume of SYSRES & Dev Type     D U,IPLVOL

Display All Outstanding Replies          D R,L

Mainframe (MVS) Open Systems Terminology Quick Reference Guide
Mainframe - MVS                         Open Systems - UNIX

IPL   Initial Program Load                   boot
DASD                                         disk
Nucleus                                      Kernel
TSO/ISPF/PDF                                 shell
CLIST or REXX                                script
Abend                                        core dump
STC (Started Tasks)                          daemons
Data Set                                     File
Data Set Name                                File name
Temp data set                                pipe
CICS (Customer Information Control System)   client/server
EBCIDIC                                      ASCII
VTAM/NCP                                     TCP/IP
SYSIN                                        stdin                              
SYSOUT/SYSPRINT                              stdout

Time Sharing Option (TSO) and Interactive System Productivity Facility (ISPF) Commands

REXX commands                                 awk,tol,perl,scripts
DSLIST (TSO 3.4),LISTC                        ls
DSLIST (TSO 3.4),third party tools            df, du
DSLIST (TSO 3.14),search-for                  find
SUPERCOMPARE                                  diff
SUPERSEARCH                                   grep,fgrep,egrep
IEBCOPY                                       tar
TSO/ISPF/PDF   browse/edit                    vi
PRINT                                         lpr
LOGOFF                                        exit
DELETE                                        rm
CANCEL                                        kill
IEBGENER                                      cat

Messages

Abend                                       error
B37, D37, E37 abend                         no more space on device/file system full
Abend S806                                  ksh: command not found
Abend 0C4                                   sigsegv

Affected Products

Geographically Dispersed Disaster Restart (GDDR), Mainframe Enablers
Article Properties
Article Number: 000010632
Article Type: How To
Last Modified: 24 Oct 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.