Skip to content

RemoteFileIOException trying to access USS files on Z/OS

Bugzilla Link 414654
Status NEW
Importance P3 normal
Reported Aug 08, 2013 06:53 EDT
Modified Aug 08, 2013 07:24 EDT
Reporter Graham Clark

Description

I've used RSE to set up an FTP link to a USS files system on Z/OS. However whatever file system I try to access, I get an empty list. On the error log I see:
eclipse.buildId=M20130204-1200
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86_64

Error
Thu Aug 08 10:43:04 BST 2013
RemoteFileSubSystemImpl.logError()

org.eclipse.rse.services.files.RemoteFileIOException: Operation failed. File system input or output error
at org.eclipse.rse.internal.services.files.ftp.FTPService.makeSystemMessageException(FTPService.java:378)
at org.eclipse.rse.internal.services.files.ftp.FTPService.getFileInternal(FTPService.java:762)
at org.eclipse.rse.internal.services.files.ftp.FTPService.getFile(FTPService.java:675)
at org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystem.getFile(FileServiceSubSystem.java:385)
at org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystem.getRemoteFileObject(FileServiceSubSystem.java:305)
at org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystem.internalResolveFilterString(RemoteFileSubSystem.java:667)
at org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystem.internalResolveFilterStrings(RemoteFileSubSystem.java:490)
at org.eclipse.rse.core.subsystems.SubSystem.resolveFilterStrings(SubSystem.java:2300)
at org.eclipse.rse.internal.ui.view.SystemViewFilterReferenceAdapter.internalGetChildren(SystemViewFilterReferenceAdapter.java:466)
at org.eclipse.rse.internal.ui.view.SystemViewFilterReferenceAdapter.getChildren(SystemViewFilterReferenceAdapter.java:284)
at org.eclipse.rse.internal.ui.view.SystemViewFilterReferenceAdapter.getChildren(SystemViewFilterReferenceAdapter.java:292)
at org.eclipse.rse.internal.ui.view.SystemViewPartRestoreRemoteObjects.doRestore(SystemViewPart.java:1712)\ at org.eclipse.rse.internal.ui.view.SystemViewPartRestoreRemoteObjects.run(SystemViewPart.java:1585)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Everything on the console log looks OK:
220-TCPFTPD1 IBM FTP CS V1R13 at gb898m2sv.gb.tntpost.com, 09:43:06 on 2013-08-08.
220 Connection will close if idle for more than 30 minutes.

USER y057ahe
331 Send password please.

PASS ******
230 Y057AHE is logged on. Working directory is "Y057AHE.".

SYST
215 MVS is the operating system of this server. FTP Server is running on z/OS.

TYPE I
200 Representation type is Image

PWD
257 "'Y057AHE.'" is working directory.

NOOP
200 OK

CWD /APPL/CDS/cicsyi00/tsqDemo/app
250 HFS directory /APPL/CDS/cicsyi00/tsqDemo/app is the current working directory

PASV
227 Entering Passive Mode (164,39,8,24,102,215)

LIST
125 List started OK

250 List completed successfully.

although it appears that the list command doesn't return anything even though there are loads of files in the directory.

Is this a bug or have I set something up wrong? Incidentally, using the Z/OS perspective in the same Eclipse environment I can connect to the same LPAR and display files and directories correctly.