jorgewagner
New Member
Hi,
After reading a directory with this code I get error 2 (No such file or directory) after the first execution. With Progress 9.1D worked fine, but with OpenEdge 10.1A I can't read the directory until I restart the session.
On the first execution os-error = 0. After it's os-error = 2. Any ideas to solve this problem?
Jorge Wagner
04/18/2008|11:04pm
After reading a directory with this code I get error 2 (No such file or directory) after the first execution. With Progress 9.1D worked fine, but with OpenEdge 10.1A I can't read the directory until I restart the session.
Code:
define stream str-test.
input stream str-test from os-dir("c:\temp").
message os-error view-as alert-box.
input stream str-test close.
On the first execution os-error = 0. After it's os-error = 2. Any ideas to solve this problem?
Jorge Wagner
04/18/2008|11:04pm