Skip to main content

Compiler flags 801-S External Compiler Module message with DB0109 on host variables that are defined in Linkage Section.

Problem:

HCO has been provided with Net Express for a certain time, but the DB2 pre-compiler never applied some of the "mainframe emulation" rules until HotFixes release for Net Express 5 WrapPack 3. Host variables are now limited to where they can be defined when pre-compiled with HCO turned on. That is why host variables defined in LINKAGE SECTION are now flagged with the following error messages:

* 801-S************ **** External Compiler Module message** DB0109 Data-Item-Name is not a data item.

Resolution:

If the mainframe emulation is not necessary, it can be turned off by setting environment variable MFHCO=NO.

Incident Number: 2355317

Old KB# 14910