Skip to main content

Problem:

In this case customer was using special characters in DFHDMF label names and was getting errors, like:

BMSCH1011E Unexpected scanning error on öKTKE  DFHMDF POS=(1,46),LENGTH=26,JUSTIFY=(LEFT,BLANK),ATTRB=(ASKIP,*

BMSCH1014E Unexpected verb ERROR_TOKEN found, remainder of macro discarded : C:\\mfuser\\BMSbug\\Source\\MS992.BMS(15)

Resolution:

By default BMS compiler rejects special characters in DFHDMF definitions

like ö or ä, for example MSöKTKE  DFHMDF POS=....

If you are using such characters in the BMS macro, you must use the additional BMS directive NAMES in order to allow these characters.

For example: /NAMES=öä

....  and the BMS will be compiled without errors.

This is the according extract from Online Help:

NAMES

Specifies additional NLS (National Locale Support) characters that are to be allowed in macro labels.

Syntax:

>>--/----NAMES=nls-characters-------------><

Parameters:

nls-characters  

Properties:

Default No NLS characters are allowed in macro labels other than those allowed by IBM CICS.

Setting in the IDE: Specify in Additional directives

Old KB# 2599

#EnterpriseDeveloper
#MFDS