Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
TonyLeBlanc Super Contributor.
Super Contributor.
1438 views

@[DISPLAY] in filenames

Jump to solution

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

0 Likes
1 Solution

Accepted Solutions
TonyLeBlanc Super Contributor.
Super Contributor.

RE: @[DISPLAY] in filenames

Jump to solution
0 Likes
4 Replies
cburlon7 Absent Member.
Absent Member.

RE: @[DISPLAY] in filenames

Jump to solution

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.

0 Likes
TonyLeBlanc Super Contributor.
Super Contributor.

RE: @[DISPLAY] in filenames

Jump to solution

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.

0 Likes
DougP Outstanding Contributor.
Outstanding Contributor.

RE: @[DISPLAY] in filenames

Jump to solution

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.

0 Likes
TonyLeBlanc Super Contributor.
Super Contributor.

RE: @[DISPLAY] in filenames

Jump to solution
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.