To exe=ute CP commands directly, enter one or more CP command lines
as operands of the iCP command. For example, if you enter:
#cp timeiquery users
the virtual machine executes the QUERY TIME and QUERY USERS commands and returns the virtual console read environment. You can restart the
virtual machine by entering the command: #cp beqin
If YOl enter
machine is placed
commands such as: query time
-- -- qaery users
the #CP command without any
in CP console function mode.
operands, the You can then
virtual
enter CP directly. each command, the virtual machine returns to the CP console function mode. Entering the command:
beqin
returns the virtual
command was issued
environmento
machine
in
to the
this
environment from
case, the virtual ENTERING CP FROM CP CONSOLE FUNCTION MODE which the
console #CP read When you are in CP console function mode, you can enter CP commands such
as: query time
-- -- gaery users directly, and you remain in CP mode until you issue the command:
beqin
The returns you to the environment from which you entered
the tcp that placed you in CP mode. This would be either the
virtual machine executing or the virtual console read environment. PECONFIGURING THE VIFTUAL MACHINE You can alter vour virtual machine configuration (stored in the VM/310 to conform to specific situations that arise. Some examples
are: a seldom Ilsed compiler may need additional disk work area or a
larger virtual storaqe. A new application program in test status may
need I/O devices or require a different channel mode of
operation. VM/370 C? Command Beference for General Users
The CP DEFINE command allows you to change your configuration
temporarily for the current terminal session. For example:
define reader OOb temporarily aids a card reader at virtual address OOB. The entry:
define t3330 as 291 cyl 125
adds a temporary virtual disk, containing 125 cylinders, at virtual
addr ess 291.
If your virtual machine is operating in basic control (B:) mode (that
is, your machine can use only six channels 0-5), you can only
define virtual devices with addresses up through 5FFi in extended
control (E:) mode, your virtual machine can use 16 channels O-F, and you
can use all addresses through FFF. You can enter:
define storage as 768k +0 temoorarily change the virtual storage size of your virtual machine 768K (K=1024 bytes). When you redefine storage, your virtual machine
is automatically reset and you must reload your operating system.
When Jsinq the SPOOL, SPECIAL and DEDICATE directory control statements to define virtual devices, specify virtual addresses that do
not with or contend with the virtual control unit interfacee This or contention occurs because devices can require special IIO interface protocols from control units such as shared and nonshared
subchannel operations. putting devices that require different real
control units on the same virtual control unit can result in a hung or busy To avoid this problem, users must define (and separate)
devices within their own control unit range. For example, if the
directory entry specifies: SPOOL 102 3211 SPECIAL 103 3270
the contr)l unit 0 on channel 1 controls both a nonshared device (the 3211 printer) and a shared device (the 3270 display unit). Processing
of both proqrams involving these two devices can result in a
hunq or busy condition=
Testing and Debugging of Programs
In to the testing and debugging facilities that are contained
in your virtual machine's operating system, has several CP commands that you can use. These commands can be used to locate,
display, and alter the program instructions that are executing in your virtual storage.
In the followinq discussions of the ADSrOp, DISPLAY, DUMP, and STORE commands, it is important that you understand the levels of storage you
can specify on the command line. Only first level storage (storage that is real to the virtual
machine) can be handled directly. This includes the V=R partitions or reqions of DOS/VS and OS/VS as well as storage in as/pcP, MFT, and MVT. V=V partitions or regions of DOS/VS and OS/VS constitute second
level st)rage and cannot be specified directly. The user, or the Section 3. CP Command Usage 27
Previous Page Next Page