27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SET RUN<br />

►►<br />

Set<br />

RUN<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

ON<br />

OFF<br />

Usage Notes<br />

Privilege Class: G<br />

Use SET RUN to control whether your virtual machine runs while a <strong>CP</strong>-initiated<br />

read is outst<strong>and</strong>ing at your terminal.<br />

ON<br />

OFF<br />

When RUN is set ON, the following differences in virtual machine management<br />

occur:<br />

1. If your virtual machine is runable, it processes instructions even if a<br />

<strong>CP</strong>-initiated read is outst<strong>and</strong>ing at your terminal<br />

SET RUN<br />

2. <strong>CP</strong> does not automatically begin another terminal read when an outst<strong>and</strong>ing<br />

read is satisfied<br />

3. If none of your configuration virtual processors are runable, <strong>CP</strong> does not<br />

automatically begin a terminal read.<br />

Initially, RUN is set OFF for all users except the primary system operator.<br />

RUN may not be set ON after a trace trap has been established in an active<br />

trace set unless the trace set is suspended. This ensures that the virtual<br />

machine is not running during the terminal read that may result when a trace<br />

trap springs. Similarly, RUN is automatically set OFF when a trace trap is<br />

established in a non-suspended trace set.<br />

1. An outst<strong>and</strong>ing <strong>CP</strong>-initiated read does not necessarily indicate that your virtual<br />

machine is not executing instructions. When RUN is set ON, your virtual<br />

machine may process even with a <strong>CP</strong>-initiated read outst<strong>and</strong>ing.<br />

2. The SET RUN comm<strong>and</strong> allows the operator of a second-level system operating<br />

in full-screen mode to press the break key <strong>and</strong> enter <strong>CP</strong> comm<strong>and</strong>s without<br />

unnecessarily delaying the instruction execution of users of that second-level<br />

system. Note that when your terminal is operating in line mode, the same effect<br />

can be achieved by entering <strong>CP</strong> comm<strong>and</strong>s preceded by #<strong>CP</strong>, where #<br />

represents your logical-line-end character.<br />

3. If your virtual machine is not runable (for example, it is in a stopped or<br />

disabled-wait state), <strong>and</strong> RUN is set OFF, <strong>CP</strong> initiates a terminal read. On<br />

locally connected terminals <strong>and</strong> logical devices, this prevents <strong>CP</strong> from writing<br />

messages sent to the user ID. In this situation, RUN can be set ON to prevent<br />

<strong>CP</strong> from initiating the read; this keeps the terminal free for incoming messages.<br />

4. Some <strong>CP</strong> comm<strong>and</strong>s prevent the virtual machine from running until all terminal<br />

output associated with the comm<strong>and</strong> has been displayed. If the output is<br />

►◄<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 1375

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!