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

Document ID : KB000015084
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

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?

Answer:

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:
https://docops.ca.com/ca-easytrieve/11-6/en/release-information/new-features-and-enhancements/features-and-enhancements-since-release-6-4

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:
WARNCC {F|S|Z}
F
Returns a condition code of 4 for warnings. This is the default.
S
Returns a condition code of 16 for warnings.
Z
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.