Show Menu

z/VM Cheat Sheet Cheat Sheet by

Basic Cheatsheet for z/VM CP, CMS and Dirmaint commands
cms     z-vm     cp     dirmaint

IPL

Warm
stop on spool errors
Force
purge on spool error
Cold
purge all spool files
Clean
purge spool + system data files

Console Status

CP READ
CP waiting for a command
VM READ
VM waiting for a command
RUNNING
VM working on something
MORE...
There is more info than can fit on the current screen
HOLDING
System is waiting for you to clear the screen
NOT ACCEPTED
System is busy

CMS

ACCESS mdisk filemode
Identify a minidisk or SFS directory to CMS.
CP
Transmit commands to the z/VM control program
ERASE fn ft fm
Erase a file
EXEC fn args
Execute one or more CMS commands
FILEList <fn ft fm>
List of inform­ation about CMS files residing on accessed disks
FORMAT vdev fm
Initialize a minidisk for use with CMS files
Listfile <fn ft fm>
List of inform­ation about CMS files residing on accessed disks
Query ACCESSED
Display the status of your accessed disks
Query DISK
Display the status of a disk
RDRList
Display inform­ation about the files in your virtual reader
RECEIVE spoolid <fn ft fm>
Receive a file from your reader to a disk
RELease fm <(­DET­ach­>
Free an accessed disk previously accessed with the ACCESS command
Rename <fn1 ft1 fm> <fn2 ft2 fm>
Change file IDs of one or more files on a minidisk
Xedit fn ft <fm­>
Invoke the editor to create, modify, and manipulate CMS files
 

CP commands

#CP
Process CP from a guest env
ATTACH rdev TO userid [as vdev]
Logically connect a dev to a VM
XAUTOLOG userid
Log another VM
DEFINE CPOWNED slot nnn volid
Define entries in the list of CP-owned DASDs
DEFINE CPU cpuaddr
Defines a virtual processor for a VM
DEFINE STOR size standby size
Change storage size of your VM
DEFINE VSWITCH switc­hname rdev rdev1 rdev2 <I­P|E­TH>
Create a CP system­-owned switch
DETACH rdev
Detach a device from VM
DETACH CPU cpuaddr
Remove a virtual processor from a VM
DETACH VSWITCH switc­hname
Remove the vswitch from the CP system
FORCE userid
Disconnect or log off an active user.
IPL vdev|­sys­tem­_name
Simulate an initial program load function for your VM
LINK userid vdev1 vdev2 mode
Link a device from another VM (common modes: RR, MR)
QUERY CPOWNED
Display the list of CP-owned DASD volumes
QUERY DASD <*A­LL|­FRE­E|O­FFL­INE>
Display the status of real DASDs
QUERY DASD details rdev
Display the detauls of real DASD
QUERY MDISK Userid userid vdev
Display the device charac­ter­istics of minidisks
QUERY NAMES
A list of all logged-on users
QUERY NIC rdev
Display the system­-level inform­ation and the MAC addresses assigned
QUERY OSA <A­LL|­FRE­E>
Display the status of real OSA
QUERY STORAGE
Display the size of real storage
QUERY userid
Identify the user ID and the system name or device address of a logged-on user
QUERY VSWITCH <A­LL|­swi­tch­nam­e> <d­eta­ils­>
Display inform­ation about virtual switches
 

DIRMAINT

ADD useri­d|s­ubc­onf­ig|­pro­file
ADD userid LIKE proto­type <PW newpa­ss>
AMDISK vaddr devtype AUTOG size poolname
DMDisk vaddr <c­lea­n|n­ocl­ean­>
CLONEDisk vaddr sourc­e_o­wner sourc­e_addr
CMDISK vaddr devtype AUTOG size poolname
CPU cpuaddr
DASD ADD REGION regio­nname volid disktype END 1
DASD ADD GROUP group­name vol1 vol2 vol3
SEND fn ft fm
FILE fn ft fm
FREExt
GET
REPlace
RLDCode
RLDData
RLDExt
PURGE <c­lea­n|n­ocl­ean­>
PW
DIRMmaint <pr­efi­x> command

Download the z/VM Cheat Sheet Cheat Sheet

2 Pages
//media.cheatography.com/storage/thumb/titog_z-vm-cheat-sheet.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Modules and Themes Listed in Drupal User's Guide Cheat Sheet
          Drupal 6 Theme Variables Cheat Sheet
          Drupal Theme Pre-launch Cheat Sheet