Z/OS Java Agent – PREP_PROCESS_FILENAME fails when wildcards are used in the dataset name
Example: Using the following dataset pattern: UC4.AA00.##XXX000.XXYYZZ.X*
Results in the following error:
U00020408 Cannot log on as user '*CURRENT'. Error code: 'n/a', error description: 'com.ibm.jzos.ZFileException //'UC4.AA00.##XXX000.XXYYZZ.X*': fopen() failed;
EDC5047I An invalid file name was specified as a function parameter.; errno=47 errno2=0xc00b0286 last_op=0 errorCode=0x0'.
Observations:
- The issue only occurs when wildcards are present in the dataset name.
- When using a fully qualified dataset name without wildcards, the function works as expected.
This will usually happen when ANONYMOUS_FT is used and a login object with an empty password is used
Release: 24.4.x
Component: Z O/S Java Agent
DE175877
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Java Agent MVS
Java Agent MVS 24.4.3 - Released
Workaround:
Use the non-java based z/OS agent
Desc: A problem has been solved where PREP_PROCESS_FILENAME Script funtion does not work if ANONYMOUS_FT is active and a Login Object with empty password is used.