FTP file from Mainframe to local



Post anything related to mainframes (IBM & UNISYS) if not fit in any of the above categories

FTP file from Mainframe to local

Postby Mohammed Umar » Fri Apr 15, 2011 11:40 am

Hi,

I have a TEXT file in mainframe.Each record is with 320byte length.Last 4 (317 to 320) contains blank spaces. When i FTP this file to my local i am not getting last 4(till 316 i am to see). I need complete 320byte with blank spaces.


Please help in this.

Thanks,
Karthick
Mohammed Umar
 
Posts: 3
Joined: Thu Apr 14, 2011 6:35 pm
Has thanked: 0 time
Been thanked: 0 time

Re: FTP file from Mainframe to local

Postby Akatsukami » Fri Apr 15, 2011 4:35 pm

Mohammed Umar wrote:Hi,

I have a TEXT file in mainframe.Each record is with 320byte length.Last 4 (317 to 320) contains blank spaces. When i FTP this file to my local i am not getting last 4(till 316 i am to see). I need complete 320byte with blank spaces.


Please help in this.

Thanks,
Karthick

Show us the JCL and control cards used, and sysout from the run.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: FTP file from Mainframe to local

Postby Robert Sample » Fri Apr 15, 2011 4:39 pm

Check with your site support group. There is an option in FTP called TRAILINGBLANKS which either keeps or discards trailing blanks from records. If this is set, that would explain the behavior you see.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to All other Mainframe Topics

 


  • Related topics
    Replies
    Views
    Last post