30 pts.
 Auto download a .CSV file from network drive
to a AS/400 physical file through a cl program? how can I do this?

Software/Hardware used:
ASKED: February 12, 2009  6:09 PM
UPDATED: February 13, 2009  9:50 AM

Answer Wiki:
You can use batch ftp to accomplish this automatically via a clp program running on the job scheduler. FTP commands are: user user-id password cd directory-where-csv-exists lcd as400-library get csv-filename as400-filename (replace quit
Last Wiki Answer Submitted:  February 12, 2009  9:03 pm  by  SteveHildebrand   30 pts.
All Answer Wiki Contributors:  SteveHildebrand   30 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

Hi,

To get the file from .CSV format into a physical file you can use CPYFRMIMPF.

Regards,

Martin Gilbert.

 23,625 pts.