search cancel

How to address '04' condition code warnings under release 11.6


Article ID: 15084


Updated On:


PanAudit Plus Easytrieve Report Generator PAN/SQL


With release 11.6, there is a condition code '04' for warnings. Release 6.4 never had this.
How can these warnings be turned off or not displayed for future steps in the job?


Release: EDBMSU00200-11.6-Easytrieve-Report Generator-Option for DB2-MSU


With release 11.6, there is a condition code '04' for warnings which was not present in release 6.4 for the CA Easytrieve product. 

Please review the WARNCC parameter as documented in our Release Notes Guide, via this link:

It contains this information for you:
Warning Message Condition Code Option
WARNCC specifies which condition code the compiler returns for warning messages.
Typically a compilation that reports only warning messages returns with a condition
code of 4. You cannot override this value during program compilation.
This option has the following format:
Returns a condition code of 4 for warnings. This is the default.
Returns a condition code of 16 for warnings.
Returns a condition code of 0 for warnings.

So, please try setting your WARNCC parameter to Z as this should help you to not get the return code value of '04'. The warnings will still be displayed, but the condition code will be set to '0' to assist you in further steps. 

Additional Information

The value for the WARNCC parameter can be changed via the JOB06OP2 job in your CBAAJCL library.