Section 3. CP Command Usage
This section describes the CP commands provided for the general user that simulate the functions available on the operator's system console.
The class G user can use these commands to control the system running in his victcral machine like an operator controls the entire VM/370 system console keys and switches. Figure 5 lists the steps a user must
follow preparation for a terminal session (steps 1 and 2), and
operation of a virtual machine (step 3).
r I I i STEP A,crrON 1----
11 User mcrst fill , out request , by , installation 1 , !2 , , I 1 I nst alIa t ion
builds rectory entry system user information I di-I fori I I FUNCTION Establish userid, user
classes, passwords,
storage requirements,
disk space, and I/O devices
Directory entry provides CP with information 'necessary to create a
virtual machine 13 User can activatel Enter CP commands to I terminal and , perform the function , beqin I required I session , COMMAND DESCRIPTION None
DIRECT command
(Figure 12)
Available class G
commands
(Figure 10) I I I 1------- -----1 I 1 I I I 1 I I I I 1 1 1------- a. activate terminal
b. transfer and store
data
c. record and control
data LOGON command 1 (Figure 10) I --------------------1
LINK, SPOOL, and TRANSFER (Figure 10) STORE, I commands
CHANG E, CLOSE, DISPLAY, DUMP, ORDER, PURGE, QUERY, and SPOOL commands
(Figure 10) 11Uniess the installation or the users change system requirements, 1 steps 1 2 do not have to be reoeated every time a user activates I a terminal after the initial session. 1
2 Throuqhout
the rest of this publication, the text is interspersed , with examples of VM/370 commands and system responses. 1 All Iser input is shown in lowercase, and all system responses are I shown in uppercase. L ________ _
Fiqure 5. Controlling the virtual Machine During a Terminal Session (Part 1 of 2)
section 3. CP Command Usage 13
r I I I SrEP ACrION I , , , , , I I I I , I I I I I , L FUNCTION d. reconfigure the virtual
machine
e. communicating with the
virtual machine
f. handling errors
g. end session DESCRIPTION DEFINE and DETACH
commands (Figure 10) ICP, ADSTOP, ATTN,
BEGIN, EXTERNAL, IPL, REQUEST, SET commands
(Figure 10) TRACE, DISPLAY, and DUMP commands
(Figure 10) LOGOFF command
(Figure 10) Fiqure 5. Controllinq the virtual Machine During a Terminal Session (Part 2 of 2) Controlling Input and Output Functions directory entries for your virtual machine include, among
other the 1/0 configuration required to run whatever operating system you are using in that virtual machine. This usually
includes virtual console, virtual printer, a virtual card reader, a
virtual punch, and virtual disks. A typical entry would look like:
(1 ) USER VMUSER 123456 512K 2M G ACCOUNT 87321 BIN14 (2)
(3) OPTION ECMODE CONSOLE 01F 3270 (4) SPOOL OOC 2540 R
(5) SPOOL OOD 2540 P SPOOL OOE 1403 MDISK 130 2314 050 050 VDISK1 WR RWPASSWD (6) MDISK 151 3330 001 020 VDISK2 WR RWPASSWD LINK CMSS YS 440 190 RR !!!gtg: (1) The lserid of this virtual machine is and the password is
123456. The virtual machine's storage size is defined as 512K; however, this can be redefined up to 2 megabytes if, during a session, the need for additional storage arises (see the topi: on "Reconfiguring the virtual Machine"). The user privilege
class is G.
(2) generates accounting data for processor time and 1/0 device usaqe. This data is charged to a virtual machine by account number,
which in this case is 87321. BIN14 is a distribution code that is
printed or punched on spooled printer and punch output or it is spooled to a virtual reader. It usually denotes a location where
the lser can pick up spooled output of a terminal session. 14 VM/370 CP Command Peference for General Users
Previous Page Next Page