MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Download file from Mainfame - Spaces are not downloaded

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
kalimuthuc
Beginner


Joined: 08 Jul 2005
Posts: 3
Topics: 1

PostPosted: Fri Jul 08, 2005 4:36 pm    Post subject: Download file from Mainfame - Spaces are not downloaded Reply with quote

Hi,

This is my first post to the forum.

When I have spaces in EOF and when I try to download the file, the spaces that are present until EOF are not downloaded.

The file has spaces and when HEX ON is done they have spaces in it.

I can add a character at the last of the file and then download and remove that extra byte but I do not want to do that. I do not want to change my file length and want to download my file with spaces till EOF.

I tried batch mailing of the file by attaching the file to the email job that sends from Mainframe - that did not help either?

Is there a way to accomplish it?

Thanks,
Kalimuthu.C
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Sat Jul 09, 2005 5:19 am    Post subject: Reply with quote

kalimuthuc,

Is it the trailing spaces on each record that are being dropped? or is it blank records that are being dropped? Btw How are you downloading the file? FTP ? or file transfer program of rumba/extra ?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kalimuthuc
Beginner


Joined: 08 Jul 2005
Posts: 3
Topics: 1

PostPosted: Mon Jul 11, 2005 8:09 am    Post subject: Reply with quote

Kolusu,

This is the trailing spaces. The blank spaces that are present within the data in a record and not dropped, they are intact.

No matter how I download the file, either FTP or through RUMBA session file transfer macro, it does not help in getting the complete file and the trailing spaces are always dropped.

Any help would be appreciated.

Thanks,
Kalimuthu.C
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Mon Jul 11, 2005 9:00 am    Post subject: Reply with quote

for ftp use

locsite TRAILingblanks

Specifies that the FTP client preserves the trailing blanks in a fixed format data set when the data is sent to a foreign host.
Back to top
View user's profile Send private message
NASCAR9
Intermediate


Joined: 08 Oct 2004
Posts: 274
Topics: 52
Location: California

PostPosted: Mon Jul 11, 2005 9:40 am    Post subject: Reply with quote

I use 'SENDSITE' in my FTP parms. This works for me.
NASCAR9
_________________
Thanks,
NASCAR9
Back to top
View user's profile Send private message
kalimuthuc
Beginner


Joined: 08 Jul 2005
Posts: 3
Topics: 1

PostPosted: Mon Jul 11, 2005 12:19 pm    Post subject: Reply with quote

The LOCSI TRAIL works fine...Thanks Taltyman.....

Let me see if there are any other conditions with the file and make sure I get what I wanted...

I had not tried the SENDSITE yet NASACAR...anyway...thanks for the regards.

Cheers,
Kalimuthu.C
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group