Z/OS Java Agent – PREP_PROCESS_FILENAME fails when wildcards are used in the dataset name
search cancel

Z/OS Java Agent – PREP_PROCESS_FILENAME fails when wildcards are used in the dataset name

book

Article ID: 411021

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation Automic SaaS

Issue/Introduction

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.

Environment

Release: 24.4.x

Component: Z O/S Java Agent

Cause

DE175877

Resolution

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 - Planned release December 2025

Additional Information

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.