0 pts.
 CPYTOPCD command.
Are any of you familiar with this command? Can this be used to copy something from the AS400 to a shared folder on a Windows system, or do any of you know how to accomplish this?

Software/Hardware used:
ASKED: October 17, 2005  4:12 PM
UPDATED: November 16, 2009  9:42 PM

Answer Wiki:
it is not the good command, youy have to copy your file to QNTC disk system, not QDLS disk system; use CPYTOSTMF to copy to QNTC look at http://www.iseriesnetwork.com/Forums/Index.cfm?CFApp=55&Message_ID=113086 ===================================================== To copy a streamfile from the IFS to a share on a Windows system, use they CPY command. To copy an externally described database file, use CPYTOIMPF. To copy a source file member or program-described file, use CPYTOSTMF. CPYTOPCD is an obsolete special-purpose command. It's almost certain you will never have a use for it. If you think you do, assume that you haven't found what you need and keep looking. Tom
Last Wiki Answer Submitted:  November 15, 2009  7:38 am  by  TomLiotta   107,735 pts.
All Answer Wiki Contributors:  TomLiotta   107,735 pts. , JPLamontre   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I find it better to either FTP the file to a folder on the windows machine or to have the user map a drive to the IFS and then use CPYTOIMPF to send the file to the mapped drive.

 5,830 pts.