Skip to main content

We're using Acu 9.2 on Windows - when running a thin client session, we use C$OPENSAVEBOX to select an output folder and filename for a file.  However, when we try writing to that file,setting the filename to "@[DISPLAY]:path\\filename", we get a file error 9D.

We can always create the file on the server and then copy it to the client, but that seems like an unnecessary step - since OPENSAVEBOX can access the client, shouldn't we be able to write directly to the client using @[DISPLAY]:?

Basically just looking for confirmation whether or not this is supported under Acu 9.2 for Windows.

Thanks

Tony

We're using Acu 9.2 on Windows - when running a thin client session, we use C$OPENSAVEBOX to select an output folder and filename for a file.  However, when we try writing to that file,setting the filename to "@[DISPLAY]:path\\filename", we get a file error 9D.

We can always create the file on the server and then copy it to the client, but that seems like an unnecessary step - since OPENSAVEBOX can access the client, shouldn't we be able to write directly to the client using @[DISPLAY]:?

Basically just looking for confirmation whether or not this is supported under Acu 9.2 for Windows.

Thanks

Tony

This doesn't answer your question but in this scenario we create the file server side, use C$OPENSAVEBOX to let the user choose location, and then C$COPY with the @[DISPLAY] notation to download to the client.


We're using Acu 9.2 on Windows - when running a thin client session, we use C$OPENSAVEBOX to select an output folder and filename for a file.  However, when we try writing to that file,setting the filename to "@[DISPLAY]:path\\filename", we get a file error 9D.

We can always create the file on the server and then copy it to the client, but that seems like an unnecessary step - since OPENSAVEBOX can access the client, shouldn't we be able to write directly to the client using @[DISPLAY]:?

Basically just looking for confirmation whether or not this is supported under Acu 9.2 for Windows.

Thanks

Tony

That's what we're doing as well.  We hired a new developer, fresh out of school; so as he's learning Cobol, and doing projects, he's asking all kinds of questions - this was one of them, that we couldn't answer satisfactorily.


We're using Acu 9.2 on Windows - when running a thin client session, we use C$OPENSAVEBOX to select an output folder and filename for a file.  However, when we try writing to that file,setting the filename to "@[DISPLAY]:path\\filename", we get a file error 9D.

We can always create the file on the server and then copy it to the client, but that seems like an unnecessary step - since OPENSAVEBOX can access the client, shouldn't we be able to write directly to the client using @[DISPLAY]:?

Basically just looking for confirmation whether or not this is supported under Acu 9.2 for Windows.

Thanks

Tony

Hi Tony,

The @[DISPLAY} notation is not supported in the file-prefix or file alias.  While C$OPENSAVEBOX can easily show you a directory on the client, the Runtime cannot create a file there.  As mentioned, C$COPY is the best way to handle it.


We're using Acu 9.2 on Windows - when running a thin client session, we use C$OPENSAVEBOX to select an output folder and filename for a file.  However, when we try writing to that file,setting the filename to "@[DISPLAY]:path\\filename", we get a file error 9D.

We can always create the file on the server and then copy it to the client, but that seems like an unnecessary step - since OPENSAVEBOX can access the client, shouldn't we be able to write directly to the client using @[DISPLAY]:?

Basically just looking for confirmation whether or not this is supported under Acu 9.2 for Windows.

Thanks

Tony

Thanks, Doug.