RA-FTP: File Transfer to z/OS using wildcards as source and GDG as destination not working.

book

Article ID: 88130

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
550 Mismatched quotes on pathname 'UC4SCJ.GDG.TEST(+1)'/last-error.xml

An RA-FTP File Transfer (FT) to z/OS using wildcards as source and GDG as destination does not work.

<Please see attached file for image>

0EMb0000000PqUr.png

The following error messages will be found:
 
2016-02-24 12:44:32 0 files transferred, 1 not processed -
550 Mismatched quotes on pathname 'UC4SCJ.GDG.TEST(+1)'/last-error.xml
 
com.uc4.ftpjob.DataTransferException: Unable to open file 'UC4SCJ.GDG.TEST(+1)'/last-error.xml for output on system CONN.FTP.SVIEZOS01.
...
Caused by: com.uc4.ftpjob.DataTransferException: 550 Mismatched quotes on pathname 'UC4SCJ.GDG.TEST(+1)'/last-error.xml
...
2016-02-24 12:44:32 Command aborted with error message: Unable to open file 'UC4SCJ.GDG.TEST(+1)'/last-error.xml for output on system CONN.FTP.SVIEZOS01. 550 Mismatched quotes on pathname 'UC4SCJ.GDG.TEST(+1)'/last-error.xml
 
The job tries to create a file 'UC4SCJ.GDG.TEST(+1)'/last-error.xml what is of course not possible. The FT job ends OK though in the report you find this error.
 
 

Cause

Cause type:
By design
Root Cause: This is not an issue of our ftp agent, but of z/OS. I.e., the ftp-server on z/OS side must be able to handle mput with multiple files. In this case, you can use the free form, but with our RA FTP it is not possible.

Environment

OS: Z/OS
OS Version: N/A

Resolution

Call the File Transfer from another object, for example from an SCRI with:

:SET &HND# = PREP_PROCESS_FILENAME("VWGSUP11","c:\TEMP\last*",,,,,,'UC_LOGIN=LOGIN.JAC')
:PROCESS &HND# : RSET &LINE# = GET_PROCESS_LINE(&HND#) : PRINT &LINE# : set &res# = ACTIVATE_UC_OBJECT('JOBS.FTPAGENT.FTPJOB.ZOS.JAC.NEW.1',,,,,PASS_VALUES)
:ENDPROCESS

And in the FTP job you use &LINE# as the source path. So, for each found file a file transfer is done.


Fix Status: No Fix

Fix Version(s):
N/A

Additional Information

Workaround :
N/A
 

Attachments

1558693492628000088130_sktwi1f5rjvs16m8e.png get_app