Another way to access the VM/370 system is to use the CP command
DIAL:
cp dial tsosys
In this example, TSOSYS is the userid of a virtual machine running a TSO system. After this DIAL command is successful, you can use your
terminal as if you were actually connected to a TSO system, and you can
begin TSO logon procedures.
To end your session, use the CP command LOGOFF: cp logoff
If you have used a VM/370 computer and
enter:
cp logoff hold
switched (or dial-up) communication path to the
you want the line to remain available, you can
At times, you might be running a long program under one userid and wish
to use your terminal for some other work. Then, you can disconnect your
terminal:
cp disconn
-- or --
cp disconn hold Your virtual machine continues to run, and is logged off the syste. when
your program has finished executing. If you want to regain terminal
control of your virtual machine after disconnecting, log on as you would
to initiate your terminal session. Your virtual machine is placed in
the CP environment, and to resume its execution, you use the CP co •• and
BEGIN. You should not disconnect your virtual machine if a program requires
an operator response, since the console read request cannot be
satisfied. CONTROLLING TERftINAL OUTPUT During the course of a terminal session, you can receive many kinds of
messages from VM/370, from the system operator, from other users, or
from your own programs. you can decide whether or not you want these
messages to actually reach you. For example, if you use the command:
cp set msg off
no one will be able to send messages to you with the CP ftESSAGE command;
if another virtual machine user tries to send you a message, he receives
the message:
userid NOT RECEIVING, MSG OFF If your virtual machine handles special messages and you do not want to
receive special messages at this time, you can issue:
cp set smsg off
26 IBM VM/370 CMS User's Guide
March 30, 1979
No one will be able to send special messages to you with the CP SMSG command; if another virtual machine user attempts to do so, he receives
a message:
userid NOT RECEIVING, SMSG OFF Similarly, you can use:
cp set wng off
to prevent warning messages (which usually come from the system
operator) from coming to you. You would probably do this, however, only
in cases where you were typing some output at your terminal and did not
want the copy ruined. VM/370 issues error messages whenever you issue a command incorrectly
or if a command or program fails. These messages have a long form,
consisting of the error message code and number, followed by text
describing the error. If you wish to receive only the text portion of
messages with severity codes I, E, and W (for informational, error, and
warning, respectively), you can issue the command:
cp set emsg text
If you want to
can locate an
specify:
receive only the message code and
explanation of the error in cp set emsg code You can also cancel error messages completely:
cp set emsg off
number (from which you you
To restore the EMSG setting to its default, which is the message text,
enter:
cp set emsg text Some CP commands issue informational messages telling you that CP has
performed a particular function. You can prevent the reception of these
messages with the command:
cp set imsg off
or restore the default by issuing:
cp set imsg on
The setting of EMSG applies to CMS commands as well as to CP commands. You can also control the format of the CMS ready message. If you
enter:
set rdymsg smsg
you receive only the "R;" or shortened form of the ready message after
the completion of CMS commands. If you are not receiving error messages
(as descrited above) and an error occurs, the return code from the
command still appears in parentheses following the "R". Section 3. What You Can Do With VM/370-CMS Commands 27
Previous Page Next Page