0% found this document useful (0 votes)
1K views4 pages

MVS and JES2 Command Cheat Sheet

This document provides cheat sheets for common MVS and JES2 commands. Some key MVS commands include using K commands to define, erase, or delete areas on the console screen. The D command can be used to display device information, jobs, control command operands, and more. Common JES2 commands include $A to release held jobs, $C to cancel jobs, $D to display job status, $T to change initiator or printer settings, and $PJES2 to shut down JES2 and properly shut down the system.

Uploaded by

api-3853979
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views4 pages

MVS and JES2 Command Cheat Sheet

This document provides cheat sheets for common MVS and JES2 commands. Some key MVS commands include using K commands to define, erase, or delete areas on the console screen. The D command can be used to display device information, jobs, control command operands, and more. Common JES2 commands include $A to release held jobs, $C to cancel jobs, $D to display job status, $T to change initiator or printer settings, and $PJES2 to shut down JES2 and properly shut down the system.

Uploaded by

api-3853979
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

MVS and JES2 Commands

MVS Commands Cheat Sheet


R n,,NOREQ
Normal JES2 startup reply

K E,D
Erase bottom display area an console

K A,NONE
Undefine the display area at bottom of screen

K E,1
Delete line 1 (top of screen, usually)

K E,SEG
Delete contents of message segment

K N, PFK=(5,CMD='S GTF,580'),CON=N
Define a PFK

K S,REF
Display current console mode

K S,DEL=RD
Set "roll delete" mode (most common mode)

D U,,,380,2
Display two devices, starting at address 380

D U,DASD,ONLINE
Display all online DASD volumes

D U,DASD,ONLINE,C00,8
Display online DASD volumes beginning at address C00

D C,K
Display list of Control command operands
D DUMP
Status of dump data sets

D A, L
List active jobs and users

D PFK
Display PFK definitions

D R,L
List unanswered messages or actions

DT
Display time and date

C U=userid
Cancel TSO user

M 480,VOL=(SL,volser),USE=STORAGE
Typical mount command

SE 'message'
Message to all TSO users

JES2 Commands Cheat Sheet


$A
Release all held jobs

$A ' jobname'
Release specific job. Quotes required.

$C 'jobname'
Cancel job or user

$C PRTn
Cancel job on printer

$DA,ALL
Status of all JES2 functions
$D ' jobname'
Display JES status of job or user

$DU,allPRTS
Display all JES devices

$E ' jobname'
Restart job after it completes

$H A or $H ' jobname'
Hold jobs

$I PRTn
Interrupt printing and return job to queue

$PI3
Stop an initiator

$P ' jobname'
Purge a job (including spooled output)

$SI3 or $SPRT2
Start an initiator or printer

$T I3,C=AB
Assign job classes for an initiator

$T PRT3,Q=AT
Change output classes for printer

$DN
Display input queues

$DQ
Display queues

Shutting down MVS


• Enter $P
• stop all active processes except JES2
• Check using
o D A,L
o $DA
o $DU
• Shutdown JES2 using $PJES2
• Write Statistics etc using Z EOD
• Flash IO buffers to disk using QUIESCE

You might also like