Highlighted
Absent Member.
Absent Member.
521 views

file name mappings

Jump to solution

 I have a simple program that writes to two files. my file assignments look like this:

select optional reg assign to "REGFILE".
select optional peg assign to "UserFolder\PEGFILE".

I have an environment variable called dd_UserFolder which point to a valid directory.

When I run the program in VS2015 all is well. both files get written to the respective, however when I run the program outside of the environment using a cobol command prompt I get an error 9/198. Dialect is RM

 

Anyone experience this behavior as well? 

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.
As it turns out, running the program from a 64 bit visual cobol prompt solved the issue.

View solution in original post

0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.
As it turns out, running the program from a 64 bit visual cobol prompt solved the issue.

View solution in original post

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.