I want to transfer a text file to a database on my AS/400 without the inclusion of the srcseq and srcdat fields....
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
I only want the srcdta field to be transferred.
The best way to send a text file to an AS/400 file is by using FTP.
1. From the windows issue the command ftp xx.xx.xx.xx where xx.xx.xx.xx is your AS/400 IP address.
2. Enter your user name and password.
3. You will receive ftp session prompt type the following:
ftp > ascii ftp > put pcfile as400file (pcfile = name of the text file on the pc as400file - as400 file name. file will be created if not exist) ftp > quit You are done. The resulting file on the as400 has the text only (no srcseq etc).
Dig Deeper on FTP
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.