pavlli Super Contributor.
Super Contributor.
626 views

Unicode chars in filename

Jump to solution

Please is there any possibility to have Unicode chars in filename, and use this file in Cobol. Like this:

select optional intb-file assign to f-intb-file
file status is w-file-status.

DATA DIVISION.
FILE SECTION.

fd intb-file
value of id f-intb-file.
copy "sxintrc.cpy".

WORKING-STORAGE SECTION.

01 FILE-NAMES.

05 f-intb-file pic n(100) value spaces.

 

I got this error: COBCH0258S ASSIGN data-name F-INTB-FILE illegal

Thanks for any help.

Tags (2)
0 Likes
1 Solution

Accepted Solutions
imran_khalifa Absent Member.
Absent Member.

RE: Unicode chars in filename

Jump to solution
Hi,

The error you are seeing from the compiler is due to using an illegal type. The product does not support filenames stored in a pic n usage national data item.
0 Likes
1 Reply
imran_khalifa Absent Member.
Absent Member.

RE: Unicode chars in filename

Jump to solution
Hi,

The error you are seeing from the compiler is due to using an illegal type. The product does not support filenames stored in a pic n usage national data item.
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.