Use of object distribution
Although DDM file names can be specified on the Send Network File (SNDNETF) and Receive Network File (RCVNETF) commands, these commands should be run, whenever possible, on the server where the data actually exists. Therefore, if both servers are iSeries™ servers and both are part of a SNADS network, object distribution can be used instead of DDM to transfer the data between them.
- The SNDNETF command should run directly on the server that contains the data being sent. If necessary, the Submit Remote Command (SBMRMTCMD) or Submit Network Job (SBMNETJOB) command can be used to submit the SNDNETF command to the server where the data exists.
Another way to use the SNDNETF command without using DDM is to run it on the target server using display station pass-through.
- The RCVNETF command must be run on the server where the data has been sent. If necessary, a DDM file can be referred to on the RCVNETF command to place the data on another server. However, if possible, you should arrange to have the data sent to the server where the data is to be used, to avoid using a DDM file.
For both sending and receiving operations, the file types of the data files must match and can only be a save file or a physical database file. If DDM is being used, however, the file being transferred cannot be a save file.
Parent topic:
Other DDM-related functions involving remote files
Related reference
Batch file processing with DDM