Q: I need to copy/transfer a nonkeyed physical file from a remote AS/400 to the local AS/400. The last time I did this was a few years ago, so I am kind of rusty. I think I remember using DDM to do this: a Create DDM File (CRTDDMF) followed by a Copy File (CPYF). Does this sound on target? Or should I use the SNADS commands, Send Network File (SNDNETF) and Receive Network File (RCVNETF)?
A: Allow me to suggest another approach. If it's an occasional thing, and you need to retrieve different files at different times, you can also use FTS via program QY2FTML in library QSYS. The advantage here is that there's no setup. You can run it underneath Pass-Through and transfer any specified member from any file. But QY2FTML must be CALLed from a program (it can't be run from the command line). See the ICF Programmer's Guide for information about this program.
If it's a regular production job though, you're probably on the right track with DDM unless you already have SNADS set up for other purposes. Both methods will work.