140 pts.
 I want to copy the IFS fIle from one directory to another file and i want to ftp that file
I want to copy the IFS fIle from one directory to another file and i want to ftp that file..I need a solution how to perform this??

Software/Hardware used:
ASKED: January 16, 2009  6:40 AM
UPDATED: January 17, 2009  12:06 AM

Answer Wiki:
To copy a file from one IFS location to another, you can use the CPY command - CPY OBJ('/MyDirectory/MyFile.csv') TOOBJ('/MyOtherDirectory/MyOtherFile.x'). To send an IFS file via FTP, use the FTP or STRTCPFTP command to start a file transfer session. After logging in, you can enter <i>namefmt 1</i> to address the hierarchical file system of the IFS. From there, the <i>cd</i> (change directory) and <i>lcd</i> (change local directory, i.e., the source system, if you're transferring between different systems and need to distinguish which is which) will allow you to navigate the directory structure. And then the <i>put</i> command is what copies the specified file from the source location to the target location.
Last Wiki Answer Submitted:  January 17, 2009  12:06 am  by  Cwc   4,275 pts.
All Answer Wiki Contributors:  Cwc   4,275 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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