Arthur,

We developed our own program for this function and it incorporates a SLEEP 
function. Here is a code snip from the program:

A010     DS    0H                                              
         GET   SYSIN,CMDIN                                     
         CLI   CMDIN,C'*'               COMMENT                
         BE    A010                     YES, BYPASS            
         CLC   CMDIN(5),=CL5'SLEEP'                            
         BNE   A020                                            
         PACK  DW,CMDIN+5(8)            HOW LONG TO SLEEP      
         CVB   R8,DW                                           
         ST    R8,SLEEPTIM                                     
         STIMER WAIT,BINTVL=SLEEPTIM                           
         B     A010                                            

And here is a snip of the input file used by our SHUTDOWN program:

Z NET,QUICK                                                    
F OMVS,STOPPFS=ZFS                                             
F BPXOINIT,SHUTDOWN=FORKINIT                                   
SLEEP 00020000   SLEEP FOR 20 SEC (LOW ORDER DIGIT = 0.01 SEC)

It should be fairly easy to write your own version of this type of program.

Hope this helps.

HITACHI
 DATA SYSTEMS 
Raymond E. Noal 
Senior Technical Engineer 
Office: (408) 970 - 7978 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Arthur T.
Sent: Wednesday, May 14, 2008 11:55 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: how do I pause a set of commands

On Wed, 14 May 2008 11:36:34 -0700 (PDT), in 
bit.listserv.ibm-main 
(Message-ID:<[EMAIL PROTECTED]>) 
[EMAIL PROTECTED] wrote:

>I have a shutdown routine that submits a bunch of MVS 
>commands ie(/*
>$VS,'STOP RMF.RMF).
>The problem I have is I have a child/parent relationship 
>and the child
>MUST shutdown 1st or the parent won't.
>I have the child shutting down in my 1st line and the 
>parent last, but
>the time isn't enough.
>I thought there was a way to place a delay of some type in 
>th elist of
>commands to give me the time I need.
>For the life of me I can't find the info anywhere, so any 
>help is
>greatly appreciated
>Thanks in advance
>mace

1. Join the Listserv so your posts can be seen by everyone, 
not just those of us who read via Usenet. Instructions are 
at the end of this message (and every message sent via the 
Listserv).

2. How are you submitting the commands? Homegrown program? 
SDSF in batch? REXX or CLIST? JCL? Something else?

3. There are a lot of programs to automate commands. Some 
are free (e.g. from <http://www.cbttape.org/>).

4. I find I've been saying this an awful lot lately, but 
you ought to read "How to ask questions the smart way" 
<http://www.catb.org/~esr/faqs/smart-questions.html>. 
Actually, everyone should.

-- 
I cannot receive mail at the address this was sent from.
To reply directly, send to ar23hur "at" intergate "dot" com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to