Show Menu
Cheatography

z/VM Cheat Sheet Cheat Sheet by

Basic Cheatsheet for z/VM CP, CMS and Dirmaint commands

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 <(DETach>
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 switchname rdev rdev1 rdev2 <IP|ETH>
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 switchname
Remove the vswitch from the CP system
FORCE userid
Disconnect or log off an active user.
IPL vdev|s­yst­em_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 <ALL|FREE>
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 <ALL|sw­itc­hname> <details>
Display inform­ation about virtual switches
 

DIRMAINT

ADD userid­|su­bco­nfi­g|p­rofile
ADD userid LIKE prototype <PW newpass>
AMDISK vaddr devtype AUTOG size poolname
DMDisk vaddr <clean|­noclean>
CLONEDisk vaddr source­_owner source­_addr
CMDISK vaddr devtype AUTOG size poolname
CPU cpuaddr
DASD ADD REGION regionname volid disktype END 1
DASD ADD GROUP groupname vol1 vol2 vol3
SEND fn ft fm
FILE fn ft fm
FREExt
GET
REPlace
RLDCode
RLDData
RLDExt
PURGE <clean|­noclean>
PW
DIRMmaint <pr­efi­x> command
           
 

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
          drush commands Cheat Sheet