View previous topic :: View next topic |
Author |
Message |
kalimuthuc Beginner
Joined: 08 Jul 2005 Posts: 3 Topics: 1
|
Posted: Fri Jul 08, 2005 4:36 pm Post subject: Download file from Mainfame - Spaces are not downloaded |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Sat Jul 09, 2005 5:19 am Post subject: |
|
|
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 |
|
 |
kalimuthuc Beginner
Joined: 08 Jul 2005 Posts: 3 Topics: 1
|
Posted: Mon Jul 11, 2005 8:09 am Post subject: |
|
|
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 |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Mon Jul 11, 2005 9:00 am Post subject: |
|
|
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 |
|
 |
NASCAR9 Intermediate
Joined: 08 Oct 2004 Posts: 274 Topics: 52 Location: California
|
Posted: Mon Jul 11, 2005 9:40 am Post subject: |
|
|
I use 'SENDSITE' in my FTP parms. This works for me.
NASCAR9 _________________ Thanks,
NASCAR9 |
|
Back to top |
|
 |
kalimuthuc Beginner
Joined: 08 Jul 2005 Posts: 3 Topics: 1
|
Posted: Mon Jul 11, 2005 12:19 pm Post subject: |
|
|
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 |
|
 |
|
|