[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

1280.0. "How can DCL WAIT be done in script...??" by TAV02::CHAIM (Semper ubi Sub ubi .....) Thu Aug 20 1992 12:47

Is there anyequivalent to the dcl WAIT command in ALL-IN-1?

One of our programmers wants to write a script which will attempt to open a
file. If the file is already open by another user, then he wants to wait a
specified time and retry. He wants to avoid having to use the A1 subprocess
(the program is for a customer who is adamently opposed to opening a
subprocess).

Thanks,

Cb.
T.RTitleUserPersonal
Name
DateLines
1280.1IOSG::WDAVIESThere can only be one ALL-IN-1 MailThu Aug 20 1992 13:003
    .PAUSE seconds 
    
    Winton 
1280.2Argument .pauseUTRTSC::SMEETSIt's a long way to the southThu Aug 20 1992 15:226
    The argument of .pause has a maximum of 59 seconds, so if you want to
    have a longer waitframe you need to create a loop.
    
    Regards,
    
    Martin