After upgrading to Java 21 (specifically version 21.0.8), users of CA 7 Web Client may experience the following symptoms:
Java 21 (specifically version 21.0.8)
CA7 12.1 Web Client
z/OS
SDSF
Encoding Property `-Dfile.encoding=IBM-1047` was added to Java options to resolve 'Unreadable STDERR / STDOUT logs issue.
This changes the default character encoding for the entire Java Virtual Machine (JVM).
Whilst it makes the spool output (EBCDIC) readable, it forces the application to interpret all internal data—ie: date strings, session tokens, config files—as EBCDIC.
This result in parsing failures, such as ECOR0024, as the application is expecting standard web encoding.
IJO="$IJO -Dfile.encoding=IBM-1047"'.1. Use the JZOS-specific environment variable to target only the output directed to the spool as below:
2. Add the following line to your `STDENV` file: 'JZOS_OUTPUT_ENCODING="IBM-1047"'
1. IBM addressed several encoding inconsistencies in subsequent releases of Java 21.
2. It is highly recommended to upgrade to Java 21.0.9 or higher
3. This should resolve the unreadable log issue without requiring manual encoding overrides.