Specifications

Chapter 4. z/VM notes 69
Figure 4-11 Display from the rdrlist command
The rdrlist display is quite useful. By moving the cursor to one of the lines and pressing
PF11 you can peek (view) the contents of the file. You can discard files by using the discard
line command; entering equal signs on other lines indicates they are to have the same
treatment as the command (the discard command in this case). Unfortunately, there is no
equivalent prtlist command.
You can transfer a spool file from another owner to your own rdr, where you can view (peek) it
and/or discard it. For example:
cp transfer operator rdr 20 to * rdr
would transfer OPERATOR’s reader file number 20 (the file number from the q rdr command)
to the current (asterisk) user’s reader.
On a larger scale, the following commands may be used by an authorized user (such as
MAINT) to purge many or all spooled files:
purge <userid> rdr >file number> (purge a specific rdr spool file)
purge <userid> rdr ALL (purge all the user’s rdr files)
purge <userid> prt <file number> (purge a specific prt spool file)
purge <userid> prt ALL (purge all the user’s prt files)
purge system rdr ALL (purge all the rdr files in spool)
purge system prt ALL (purge all the prt files in spool)
The <userid> may be an asterisk, in which case the command applies to the current user.
The <file number> is usually taken from the q rdr or q prt commands.
4.7 Simple system queries
A number of simple query, display, and access commands may be useful:
򐂰 q disk - list your minidisks.
MAINT RDRLIST A0 V 164 Trunc=164 Size=13 Line=1 Col=1 Alt=2
Cmd Filename Filetype Class User at Node Hold Records Date Time
* (none) (none) CON T DTCVSW1 SSI1 NONE 48 2/26 8:49:33
(none) (none) CON T DTCVSW2 SSI1 NONE 48 2/26 8:49:33
discardnone) (none) CON T MAINT SSI1 NONE 78 2/26 8:50:17
= (none) (none) CON T DTCVSW1 SSI1 NONE 38 2/28 9:22:37
= (none) (none) CON T DTCVSW2 SSI1 NONE 38 2/28 9:22:37
= (none) (none) CON T MAINT SSI1 NONE 20 2/28 10:33:32
(none) (none) CON T DTCVSW2 SSI1 NONE 38 2/28 13:44:20
(none) (none) CON T DTCVSW1 SSI1 NONE 38 2/28 13:44:20
(none) (none) CON T DTCVSW2 SSI1 NONE 48 2/28 13:48:54
(none) (none) CON T DTCVSW1 SSI1 NONE 48 2/28 13:48:54
(none) (none) CON T MAINT SSI1 NONE 22 3/01 9:16:02
(none) (none) CON T DTCVSW2 SSI1 NONE 53 3/02 12:29:22
(none) (none) CON T DTCVSW1 SSI1 NONE 53 3/02 12:29:22
1= Help 2= Refresh 3= Quit 4= Sort(type) 5= Sort(date) 6= Sort(user)
7= Backward 8= Forward 9= Receive 10= 11= Peek 12= Cursor
====>
X E D I T 1 File