Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

download internal table to pc with blank at end of records

Former Member
0 Kudos
187

Dear all:

We are using GUI_DOWNLOAD to download a internal table to pc, this table has some records with blanks at the end of the line, but those dont exist when we see the file in notepad in the pc!! We are on 6.0 unicode

Best regards

1 ACCEPTED SOLUTION

krishnendu_laha
Active Contributor
0 Kudos
113

I think notepad does not show blank lines seprated by any separator....

could you please let us know, why you want to see blank lines?

Thanks.

6 REPLIES 6

krishnendu_laha
Active Contributor
0 Kudos
114

I think notepad does not show blank lines seprated by any separator....

could you please let us know, why you want to see blank lines?

Thanks.

0 Kudos
113

Hello, thank for answering.

We are sending a file to the bank, and it has to have a fixed size of each line of 90 charaters always (with blanks at the end if necessary, to complete the 90).

I opened the file with wordpad and it no shows the blanks

Former Member
0 Kudos
113

look at the parameters for GUI_DOWNLOAD and turn OFF the default to drop trailing blanks.

krishnendu_laha
Active Contributor
0 Kudos
113

As mentioned by Dave...please look at 'TRUNC_TRAILING_BLANKS' parameter...

scott_fischer2
Discoverer
0 Kudos
113

Actually, I think you need to look at the parameter 'TRUNC_TRAILING_BLANKS_EOL' which is set to 'X' by default.

Clemenss
Active Contributor
0 Kudos
113

Yes,

TRUNC_TRAILING_BLANKS_EOL = space

mus be passed to GUI_DOWNLOAD .

I tried. I works as expected.

Regards,

Clemens