I want to copy the IFS fIle from one directory to another file and i want to ftp that file
50 pts.
0
Q:
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??
ASKED: Jan 16 2009  6:40 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
3860 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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 namefmt 1 to address the hierarchical file system of the IFS. From there, the cd (change directory) and lcd (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 put command is what copies the specified file from the source location to the target location.
Last Answered: Jan 17 2009  0:06 AM GMT by Cwc   3860 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0