R361 – An ESQL CONSTANT with that value is already declared (WMB)

An ESQL CONSTANT with that value is already declared (WMB)

This looks for constants that have the same value.

DECLARE AUSTRALIA CONSTANT CHAR ‘AUSTRALIA’;

DECLARE CNTRY_AUSTRALIA CONSTANT CHAR ‘AUSTRALIA’;
…..
DECLARE COUNTRY_AUS CONSTANT CHAR ‘AUSTRALIA’;

So in this case, which one would the developer use ?
AUSTRALIA, CNTRY_AUSTRALIA, COUNTRY_AUS