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

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

book

Article ID: 15084

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

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?

Environment

Easytrieve Report Generator, release 11.6

Resolution

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

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

Documentation on WARNCC parameter

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.