Problem with input from

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.

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
 
It does not look to be an issue with only input statement.

Even

MESSAGE OS-ERROR
VIEW-AS ALERT-BOX INFO BUTTONS OK.

Gives 0 the first time and then 2 subsequently (In OpenEdge 10.1B).
But in progress 9.1E it gives 0 everytime.


Worth asking tech support???

-Parul.
 
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.

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

Upgrade to OpenEdge 10.1B03.
 
Back
Top