Is there a clean way to prevent a file FTP'd from an AS/400 system from truncating trailing spaces? I know the...
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.
quote site trim 0 works from DOS, but I want to FTP directly from the AS/400 to the receiving system. The sent file always truncates the trailing spaces. Any ideas?
From the AS/400, in FTP use the command:
LOCSITE TRIM 0
This will set the trim off on the AS/400 FTP.
To turn it back on, use:
LOCSITE TRIM 1
To see what the current setting of TRIM is, use:
Dig Deeper on iSeries SQL commands and statements
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.