APAR status
Closed as program error.
Error description
Error Message: Output written to STDOUT/STDERR file descriptors when redirected to an MVS dataset are not written to the target dataset. . Stack Trace: n/a . Redirecting STDOUT/STDERR to an MVS dataset only works when output is written to the files using FILE* pointers. POSIX write() calls to the redirected STDOUT/STDERR file descriptors will not be cause bytes to be written to target dataset. This is z/OS Unix System Services limitation.
Local fix
There is no known workaround with Java.
Problem summary
The file stream support in LE abstracts to either an underlying Unix file (fd) or data set (DCB). If the STDOUT/STDERR streams are redirected to an MVS dataset, POSIX write() calls to the STDOUT/STDERR file descriptors will not be written to target dataset. This is a z/OS Unix System Services specific problem.
Problem conclusion
Amend codebase to include additional support for writing using FILE* pointers in place of file descriptors. This feature is enabled when the system property -Dcom.ibm.writeToStandardOutputsUsingStreams=true is used. . This APAR will be fixed in the following Releases: . IBM Semeru Runtime Certified Edition 11 11.0.16.0 . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the available maintenance can be found at: https://www.ibm.com/support/pages/java-sdk
Temporary fix
Comments
APAR Information
APAR number
IJ41552
Reported component name
OPENJDK CLASS L
Reported component ID
621800100
Reported release
B00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-08-04
Closed date
2022-08-04
Last modified date
2022-08-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
OPENJDK CLASS L
Fixed component ID
621800100
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
05 August 2022