Topic
No replies
SivaChitturi
SivaChitturi
1 Post
ACCEPTED ANSWER

Pinned topic Error while Retrieving file from Mainframe data set using FTP JCA Adapter

‏2012-08-06T22:34:39Z |
Hi ,

We are replacing the WBI Adapters to JCA Inbound Adapters. We are having the below exception while reading the file from Mainframe data set using FTP JCA Inbound Adapter.

8/6/12 15:54:48:679 CDT 00000008 FTPRAGCUF_FTP 3 com.ibm.j2ca.ftp.FTPCommandAudit protocolReplyReceived ftp://FTPSITE:21/D.PVI.SSSS.R105D05.PDS ## 501 Invalid data set name "D.PVI.SSSS.R105D05.PDS/A00027". Use MVS Dsname conventions.

8/6/12 15:54:48:679 CDT 00000008 FTPRAGCUF_FTP 3 com.ibm.j2ca.ftp.FTPCommandAudit protocolCommandSent ftp://FTPSITE:21/D.PVI.SSSS.R105D05.PDS ## DELE A00027

8/6/12 15:54:48:789 CDT 00000008 FTPRAGCUF_FTP 3 com.ibm.j2ca.ftp.FTPCommandAudit protocolReplyReceived ftp://FTPSITE:21/D.PVI.SSSS.R105D05.PDS ## 250 D.PVI.SSSS.R105D05.PDS.A00027 deleted.

In the above exception D.PVI.SSSS.R105D05.PDS is the event directory and A00027 is file name located in the mainframe data set.
The Root cause for the above error is because of the "/" in between PDS and A00027. The adapter by itself combines the event directory and file name with "/". But the adapter deletes the file FTP direcotry correctly.

Any idea why the FTP adapter is not retrieving the file from Mainframe data set correctly.

Thank you.
Siva