We run DB2 and have generate processors within Endevor to perform COBOL/CICS/DB2 coprocessor events
I've been "fixing" some of the warning and informational messages produced from the COBOL compiler and have that in a good state now (eg old deprecated commands removed).
For DB2 however I have one issue that I can't understand.
Our CoPro options are:
SQL('NEWFUN(V10) HOST(IBMCOB) APOSTSQL VERSION(AUTO) DATE(ISO)')
from this I get the warning:
IGYOS4078-W DSNH042I DSNHOPTS "HOST" OPTION INVALID FOR HOST LANGUAGE
Does anyone else have this option and do you get the same warning?
The manual implies without it you would see a warning - switching off the option completely removes the message however that's against our internal DBA teams advice.
Yah you're right about the manual. It says that for z/OS COBOL use HOST(IBMCOB). I suspect that because you get a error message the Install Default is used.
Looking at the message code:
IBM Knowledge Center
it even gets more odd.
W csectname OPTION: option OPTION INVALID FOR HOST LANGUAGE
The option identified in the message is not valid. The QUOTE and COMMA options are not permitted with HOST(ASM), HOST(PLI), or HOST(C). The TWOPASS option is not permitted with HOST(COBOL).
The specified option is ignored.
Remove the invalid option, or correct the host specification.
Notice the HOST(COBOL) is used as an example. Try HOST(COBOL) maybe the manual is wrong? You may also want to find out what they used as the default at install time.