Chapter 4

Receiving a File
Receiving a file on Sterling Connect:Direct for i5/OS requires the Sterling Connect:Direct Receive (CDRCV)
command. Understanding the Sterling Connect:Direct for i5/OS file systems, the CDRCV command
parameters, and the CDRCV screens enables you to use this command more effectively. This chapter provides
the following information to help you use this command:
Using the file systems
Using the CDRCV command
Using block mode transfer
Using CDRCV screens
Additional information about the use of command parameters for receiving remote files is available on the
IBM Sterling Connect:Direct Processes Web site at
http://www.sterlingcommerce.com/documentation/processes/processhome.html.

Using the File Systems

Sterling Connect:Direct for i5/OS supports two types of file systems for the file transfers: native file and
integrated file. The native file system and the integrated file system can both be used to send files to and
receive files from any supported file systems.
Native File System
The native file system used in previous releases of Sterling Connect:Direct for i5/OS remains functional. This
file system accepts the file name in the following formats:
library-name/file-name
specifies the library and file name to be copied.
library-name/file-name(member-name)
specifies the library, file, and member name of the member to be copied. You cannot use the
EXCLUDE and SELECT parameters if you specify a member name.
Integrated File System
As part of the i5/OS, the integrated file system provides an integrated structure over all data stored in the
iSeries. This file system supports stream input/output and storage management like personal computers and
UNIX operating systems.