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.
Post Reply
Makrand
Registered Member
Posts: 25
Joined: Wed Jul 24, 2013 3:14 pm

File trimeed while transferring from mainframe to unix.

Post 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?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: File trimeed while transferring from mainframe to unix.

Post 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.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: File trimeed while transferring from mainframe to unix.

Post 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.
Makrand
Registered Member
Posts: 25
Joined: Wed Jul 24, 2013 3:14 pm

Re: File trimeed while transferring from mainframe to unix.

Post by Makrand »

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

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

Register

Sign in

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