Progress error

karel schoonjan

New Member
Hallo,
i'm having a problem with renaming a file.
we export data to ASCII files so they can be imported by another application, this application scans a directory for new files. To avoid that the application starts reading a file before it is completly ready we first write it to a temporary file and at the end do a os-rename. As this didn't always work we used the os-error to see wath went wrong, and we got error number 999 :confused:
(Unmapped error (Progress default)), this is a really clear error, does anyone got the same error, or does anyone know what this error means?
thx
 

karel schoonjan

New Member
Hi DevTeam,

thank you for the fast answer. I downloaded progressKB and found an KB (P47820) telling the same thing you do. I'll adapt my source and try it with os-copy an os-delete
greetZ
ks
 

DevTeam

Member
Maybe I could apply for a job at Progress ! :lol:

About Copy / delete, it could be a way to fix your bug, but I think it would be safe to find the reason why your file remains used by another thread...
And Copy/Delete supposes to create the temp file out of the target folder, which could imply rights restrictions...
 
Top