[progress Communities] [progress Openedge Abl] Forum Post: Create A File Only One Time

  • Thread starter Thread starter Kai Siegele
  • Start date Start date
Status
Not open for further replies.
K

Kai Siegele

Guest
Hallo, I need one (and only one) command to create a file and if this file still exists creating the file must fail. If have tried out following code: DEFINE STREAM osFile. …. OUTPUT stream osFile to value(FullFilePath) no-echo. PUT STREAM osfile SUBSTITUTE("Started at &1", NOW) SKIP. and not to close the stream after creating the file. Unfortunately another user can invoke the code without getting an excecption file is already in use. Has anyone an idea how to solve my Problem? Best regards Kai

Continue reading...
 
Status
Not open for further replies.
Back
Top