LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 1997, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 2 May 1997 08:50:00 -0400
Reply-To:     Robert Schechter <robert_schechter@MERCK.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Robert Schechter <robert_schechter@MERCK.COM>
Subject:      Re: Equivalent of function SLEEP on MVS
Comments: To: Samira Benkirane <benkirane_s@EUROCLEAR.COM>
Content-type: text/plain; charset=us-ascii

Samira,

I think what you're looking for is the WAIT= option on your FILENAME statement which controls how many minutes SAS if the file you referenced in the FILENAME statement is unavailable.

Robert_Schechter@MERCK.COM Maxim Group SAS Consultant ************************************************************************ ************************************ Disclaimer: The contents of this message express only the sender's opinion. This message does not necessarily reflect the policy of Merck & Co., Inc. All responsibility for the statements made in this posting reside solely and completely with me. ************************************************************************ ************************************ ---------- From: Samira Benkirane To: SAS-L@VTVM1.merck.com Subject: Equivalent of function SLEEP on MVS Date: Friday, May 02, 1997 9:53AM

On OS/2 system, there exists a function SLEEP(n) which allows SAS to sleep n seconds before to continue some process. Any idea about the equivalent function on MVS (Mainframe) ? OR another solution ?

In fact, what I want to do is to run a batch program (see below) which assigns a PDS library, if the library is used by another user or job, retry to assign a second time but not immediately (after for example 10 seconds = SLEEP(10)).

Program:

%macro assignf ; libname ..... ; %mend;

libname .... ; %let _syslib = &syslibrc ; data _null_ ; if &_syslib ne 0 then do ; x=SLEEP(10) ; /* This function not recognised in MVS */ %assignf ; end; run;


Back to: Top of message | Previous page | Main SAS-L page