Use the LOCSITE TRIM 0 setting in the CMD1 field. This will cause all blank spaces in a file being sent to be preserved. If this setting is not used, records get truncated to the last non-blank character. 

Example:
 
FTPTFR RMTSYS('1.1.1.1') LCLFIL('qgpl/spool') RMTFIL('/REPORT.TXT') FUNCTION(PUT) USR(TEST) PWD() NAMEFMT(0) FORMAT(ASCII) LOGOPT(*DSP) CMD1('LOCSITE TRIM 0')
Still have questions? We can help. Submit a case to technical support

Last Modified On:
You don't have the appropriate permissions.
No, open a new Support Case