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?
File trimeed while transferring from mainframe to unix.
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: File trimeed while transferring from mainframe to unix.
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.
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: File trimeed while transferring from mainframe to unix.
Update: I had a chance to check the manual, and TRAILINGBLANKS is the option with a default of NOT sending trailing blanks. would need to be added to the FTP to change the default.
Code: Select all
QUOTE LOCSITE TRAILINGBLANKS TRUE
Re: File trimeed while transferring from mainframe to unix.
Thanks for the options Robert. Will try it and get back.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute