This article explains which entry point names may cause error messages to occur.
Problem:
When compiling or running the following program with no special options, we receive the below error codes.
IDENTIFICATION DIVISION.
PROGRAM-ID. ROGERW.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 ALLP PIC X.
PROCEDURE DIVISION.
CALL 'csort' USING ALLP.
STOP RUN.
error code: 161, pc=2B, call=1, seg=0
161 Illegal intermediate code
Resolution:
The problem is that csort is an entry point in the Micro Focus runtime library. There are a few more to be aware of as entry point names with the following prefixes:
"_"
"mF"
"MF"
"mf"
"CBL"
"cob"
"CEE"
"ADIS"
"STRIPE"
"fs"
"FS"
"CEE"
"CCI"
"oo"
"STRIPE"
"PARSE"
"XML"
"Invoke"
"scum" (stands for Sooty Communications Underlying Module)
C standard library function names may also cause errors. Single byte names where the character has binary representation are also best avoided:
>
= 0x80
Following is a list of specific names (this list is very incomplete) which also may cause errors:
EXTFH
csort
csortv
extsm
EXTSM
CHECKFIL
direct
PANELS
charset
animator
edit
linein