IBM CDI5UG1107 Computer Accessories User Manual


 
46 IBM Sterling Connect:Direct for i5/OS User’s Guide
The Sterling Connect:Direct for i5/OS integrated file system provides application and data compatibility with
other platforms. The integrated file system consists of five file system types:
/QLANSrv is a LAN server file system
/QDLS is a document library file system
/QSYS.LIB is the iSeries DB2 file system
/QOpenSys is a UNIX-style file system
All others are part of the root file system
Specifying a Path Name
The integrated file system recognizes the objects by the path specification. You must specify the fully qualified
path name to transfer a file. Sterling Connect:Direct for i5/OS identifies a path that starts with a slash (/) or a
backslash (\) as a request for the integrated file system.
The integrated file system does not support file field description. You cannot specify the SNDFFD(*YES)
under this file system. Similarly, you cannot specify SELECT or EXCLUDE with the integrated file system.
To use this system, you must specify the fully qualified path name in one of the following formats:
/QSYS.LIB/library-name.LIB/file-name.FILE/member-name.MBR
specifies the library, file name, and member name to be copied using the integrated file system.
/directory/file-name|/QLANSrv/file-name|/QDLS/folder-name| /QOpenSys/file-name
specifies the directory, folder, and file names to be copied using the integrated file system.
Directories like /QOpenSys and /root are case-sensitive. The /QSYS.LIB notation is case-sensitive only if you
enclose the name in single quotation marks.
Using the CDRCV Command
Use the CDRCV command to receive a file from a remote node. This command receives files from any file
systems supported by the i5/OS V3R1M0 or later. You can also specify a user-exit command (either
EXITCMD or FAILCMD) to be executed after the completion of a copy process in either FROMSYSOPTS
or TOSYSOPTS. Using EXITCMD, you can specify a command to be executed only if the copy process is
successful. You can also specify a command to be executed only if the copy process is not successful by using
the FAILCMD command. The EXITCMD and FAILCMD commands must be executed on an i5/OS using
Sterling Connect:Direct release 3.3.00 and above. The EXITCMD and FAILCMD are executable iSeries
commands as well as Sterling Connect:Direct as long as the size of the command does not exceed 127 bytes.
CDRCV Command Example
The command shown in the following figure is an example of the CDRCV command.
CDRCV PNAME(CDRCVD) SNODE(DALLAS.OS3901)
SNODENVIRN(OS390)
FDSN(DALLAS.REPORT)
TDSN(‘DALLIB/REPORT’)
TOSYSOPTS(‘TYPE(FILE)’)