I’m working with a mainfram Cobol Program and i need to use the character ‘]’. When I compile the program am having the following problem:
In the program I have the following sentence:
IF BSM-1R-CU-PRISMODIND = “]”
MOVE “Q” TO BSI-125-MODIND
ELSE
MOVE BSM-1R-CU-PRISMODIND TO BSI-125-MODIND
END-IF
When I look into the listing of the program in the compiler I have the following:
IF BSM-1R-CU-PRISMODIND ” ”
MOVE “Q” TO BSI-125-MODIND
ELSE
MOVE BSM-1R-CU-PRISMODIND TO BSI-125-MODIND
L character(s) were found starting with ” ” in column 16. The
rs were discarded.
As you can see for some reason the compiler asume the character ] as blank
If somebody can help me, I’d appreciate a lot
thanks
Chonta