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.