The files in QSYS are limited in length to 10 characters, so your proposed name is not acceptable in QSYS.LIB....
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.
Your options are:
- Use namefmt 1 and send the file to the remote as 400 IFS; or
- Truncate the name (or rename it ) during the ftp process.
If the target file in the QSYS.LIB is to be somehow accessed by SQL you may consider using an alias (i.e., create alias MSD08042005 for file with name D08042005).
Dig Deeper on Remote Access to iSeries
Related Q&A from Shahar Mor
Use work station customize object or printer type in iSeries Access to print the output of an RPG file from the AS/400 to an HP printer.continue reading
Searching for the right API to add users to an EIM SSO implementation? The IBM site includes sample APIs based on C.continue reading
Sending the file binary to the AS/400 after defining the destination file tagged with CCSID of 1200 may solve the problem of incorrect CCSID numbers ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.