On Tuesday, 08/18/2009 at 10:02 EDT, "Kline, Martin" 
<[email protected]> wrote:

> Ok. . . . We're running z/VM on a trial basis for a proof of conncept, 
and
> training has been minimal/neglected. So, I hate to ask the obvious, but 
is
> there a wait, hold, delay, pause, time, or similar command that I can 
use
> in Autolog's profile to do that?

The CP SLEEP command is how you pause a guest.  But you don't want to wait 
a fixed amount of time.  You want to poll, using a QUERY-SLEEP loop. Sleep 
for one or two seconds between queries.  You want the loop to be 
responsive without  the CPU.  (If you ever want to cancel a SLEEP, just 
press the ENTER key.)

As an aside, use CP SLEEP only in a CMS guest, and only in those that are 
running scripts.  Virtual machines like TCPIP, VTAM, RSCS, or PVM and 
those containing other operating systems will not like being given a 
sleeping draught and are likely to retaliate.  Their communications 
partners get cranky as well and your best bet is to avoid e-pitchforks and 
e-torches (e-flame-operated).

Alan Altmark
z/VM Development
IBM Endicott

Reply via email to