Ref:  Your note of Fri, 24 Nov 2017 05:30:59 -0500

HLASM supports the national use characters with EBCDIC hex values 5B, 7B
and 7C as valid in symbols and equivalent to letters for that purpose.
For US EBCDIC these display as "dollar", "hash" and "at" signs.  If the
hash sign in in your code page is not hex 7B, you need to use the
character which has that EBCDIC value instead.

If you are working on files in ASCII and uploading them in EBCDIC, you
need to make sure that you use translate tables that are compatible with
your assumptions about that mapping.

The CODEPAGE option does not have any effect on how HLASM interprets the
input stream.  At present, the only effect it has is on the table used
to translate values to Unicode for CU-type constants.  It may in future
be extended to CA-type constants as well.

Jonathan Scott
HLASM team, IBM Hursley, UK

> Hello group,
>
> I have to compile source programs with variables that contain the #
> character. When compiling the ASM I get the following error:
>
> ERR # 1 EQU 1
> ** ASMA143E Bad character in name field - # 1
> ** ASMA167E Required name missing
>
> I have tried to compile the program with the parameter CODEPAGE with values
> of 1145, 1140, ... and I always get the error.
>
> I am solving the problem by changing the # by @ character. I understand that
> there is a correct way to solve this problem.
>
> Thank you very much.
>
> Hilario
>

Reply via email to