  |  
      | 
       
      
       Next Meeting: Sat, TBD
       Meeting Directions
      
       
       
       
       |  
      Navigation:
       
       
      
      
      
      20 Most Recent Documents
       Search Archives
       Index by date,
      title,
      author,
      category.
      
        |  
      
      
  |  
      | 
       Features:
       
      
      Mr. Know-It-All
       Ink
       Download!
      
        |  
      
      
      
       
      
       |  
      
      
      
       
      
       |  
      
      
      
       
       
      
       |  
      
      
       
       
      
       |  
      
      
       
       
      
       |  
      
      
      
  |  
      | SCOUG:
       
      
      Home
      
       
      
      
      Email Lists
      
       
      
      SIGs (Internet, General Interest, Programming, Network, more..)
      
       
      
      Online Chats
      
       
      
      Business
      
       
      
      Past Presentations
      
       
      
      Credits
      
       
      
      Submissions
      
       
      
      Contact SCOUG
      
       
      
      Copyright SCOUG
      
        |  
       
      
  |  
      
      
       
      
       Pictures from Sept. 1999
      
       |  
      
      
  |  
      
      The views expressed in articles on this site are those of their authors.
      
       
       |  
      | 
       
       
       
      SCOUG was there!
        |  
      
       
       |  
      | 
      
      Copyright 1998-2025, Southern California OS/2 User Group.
      ALL RIGHTS RESERVED.
      
       
      
      SCOUG, Warp Expo West, and Warpfest are trademarks of the
      Southern California OS/2 User Group.
      OS/2, Workplace Shell, and IBM are registered trademarks of
      International Business Machines Corporation.
      All other trademarks remain the property of their respective owners.
      
       
      The Southern California OS/2 User Group
       USA
      
       |  
     
     |  
   
   | 
  
    
  
SCOUG-Programming Mailing List Archives
Return to [ 26 | 
October | 
1999 ]
<< Previous Message << 
 >> Next Message >>
 
 
 
In <3814FE25.57DB@peterskye.com>, on 10/25/99   
   at 06:50 PM, Peter Skye  said:  
>--  How do I lock a file, unlock it after using it, and what error code  
>does another program receive if it attempts to open/lock an  
>already-locked file?  
 
There's are addin REXX libraries to support all of this if you need fancy.  
 
For simple use, open the file for write and others will not be allowed to  
write it.  I'd have to look up the exact error.  Other REXX scripts will  
probably see "NOT READY".  Real programs () will probably see Access  
Denied.  
 
>--  How can an executing REXX .cmd file find out if it is already  
>running?  
 
Again, addin libraries.  Simple cases can be handled with lock files.  
 
HTH,  
 
Steven  
 
 
 
--   
-----------------------------------------------------------  
Steven Levine   MR2/ICE #10183  Warp4/FP11  
-----------------------------------------------------------  
 
=====================================================  
 
To unsubscribe from this list, send an email message  
to "steward@scoug.com". In the body of the message,  
put the command "unsubscribe scoug-programming".  
 
For problems, contact the list owner at  
"rollin@scoug.com".  
 
=====================================================  
 
  
<< Previous Message << 
 >> Next Message >>
Return to [ 26 | 
October | 
1999 ] 
  
  
The Southern California OS/2 User Group
 P.O. Box 26904
 Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
 
   |   
 |