File trimeed while transferring from mainframe to unix.

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.
Previous topicNext topic

Topic Author
Makrand
Registered Member
Posts: 25
Joined: Wed Jul 24, 2013 3:14 pm
Zodiac: Aries

File trimeed while transferring from mainframe to unix.

Post by Makrand » Wed Jan 10, 2018 12:31 pm

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?



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: File trimeed while transferring from mainframe to unix.

Post by Robert Sample » Wed Jan 10, 2018 6:23 pm

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.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: File trimeed while transferring from mainframe to unix.

Post by Robert Sample » Wed Jan 10, 2018 9:11 pm

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.




Topic Author
Makrand
Registered Member
Posts: 25
Joined: Wed Jul 24, 2013 3:14 pm
Zodiac: Aries

Re: File trimeed while transferring from mainframe to unix.

Post by Makrand » Thu Jan 11, 2018 9:39 am

Thanks for the options Robert. Will try it and get back.



Previous topicNext topic

Return to “Other Mainframe Topics, Off-Topics, FAQs.”