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
Use the the iSeries QSYSOPR message to look for any errors in passwords when running a program on the iSeries that transfers data to a spreadsheet on...continue reading
Connecting the iSeries in AS/400, issue STRHOSTSVR *ALL. Make sure the as-signon port is in listen state and check the firewall settings.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.