There is a new Language Environment APAR / PTF available for z/VSE 5.2.
The APAR PI30307 (PTF UI23902): AN ERRNO RC OF 57 IS RETURNED WHEN THE SPACE PARAMETER IS PASSED IN THE FOPEN STRING FOR A FILE OPENED BY FILENAME.
The PTF fixes the following problems:
Invalid parsing of "SPACE=" option on a fopen() request for a VSAM managed SAM file.
Incorrect DISP options set when opening an implicity created VSAM managed SAM file using fopen() with mode "w" (write-only).
Default IJSYSCT label used when opening for read, removing or renaming and VSAM managed SAM file by dataset name.
The tmpfile() function left files behind when closed.
Incorrect component information displayed for DSECT utility output reports.
You will also find that APAR on our corrective service page - here.