Page 1 of 1

File trimeed while transferring from mainframe to unix.

Posted: Wed Jan 10, 2018 12:31 pm
by Makrand
Hi Guys,

I am transmitting a file from mainframe to unix server of fixed byte length. But when I checked mainframe file it contains spaces but when it reaches unix it's trimmed. Does anyone know how this can be resolved?

Re: File trimeed while transferring from mainframe to unix.

Posted: Wed Jan 10, 2018 6:23 pm
by Robert Sample
IIRC, there is an FTP option to remove trailing blanks (spaces). Check with your site support group to see if your FTP has this option set.

Re: File trimeed while transferring from mainframe to unix.

Posted: Wed Jan 10, 2018 9:11 pm
by Robert Sample
Update: I had a chance to check the manual, and TRAILINGBLANKS is the option with a default of NOT sending trailing blanks.

Code: Select all

QUOTE LOCSITE TRAILINGBLANKS TRUE
would need to be added to the FTP to change the default.

Re: File trimeed while transferring from mainframe to unix.

Posted: Thu Jan 11, 2018 9:39 am
by Makrand
Thanks for the options Robert. Will try it and get back.