04-29-2005 6:54 AM
Dear all,
Anybody Help me..
Create the text file in presentation server.
write the data into the file and every line having ended with 2 spaces.
example : "ABCD ".
Thanks in advance.
KSK
Message was edited by: KSK
04-29-2005 8:23 AM
You can use a simple 'concatenate' istruction to add 2 spaces at the end of record-set variable before the transfer istruction.
Gianluca
04-29-2005 8:31 AM
Thanks for your Reply Gianluca,
I tried with this concatenate option. But i try to open with the excel file , space is not there in the coloumn..
BR
KSK
04-29-2005 8:35 AM
Hi,
One other thing you must look at is the LENGTH addition to the TRANSFER statement.
Regards,
Anand Mandalika.
04-29-2005 8:36 AM
Hi KSK,
do you use GUI_DOWNLOAD? There is an option TRUNC_TRAILING_BLANKS - of course this shouldn't be used (but it's not the default).
Maybe you post your code (data definition, example filling, download call).
Regards,
Christian
04-29-2005 8:39 AM
Hi Suresh,
In your first post, you have said that you are dealing with the files on the Application Server. And now you have edited the message to say that it is Presentation Server.
This is extermely confusing for the rest of the folks who follow this topic. Please try to avoid that as far as possible.
Regards,
Anand Mandalika.
04-29-2005 8:48 AM
Damned, and I thought I was going mad. Thanks for your clarification, Anand, I will rehabilitate myself now.
04-29-2005 12:43 PM
Hi Anand Mandalika.
First of all Thanks to you for helping to solve this topic.
Just FYI,
in my first post, i never said this files dealing with application.
topic was edited because i am trying to explain .. thats why i mention presentation server. [ because people they alway will focus with open dataset, transfer related to application server ].
could you help on this
Regards,
KSK
04-29-2005 12:52 PM
Hi,
In case, it's just an explanation, you could have siad so in your rreply to Gianluca's answer. Anyways, if you say that you haven't referred to application server, it seems to me so childish to argue over that.
Now, if you're dealing with the presentation server, then Christian has already given a response. Have you tried that out ?
Regards,
Anand Mandalika.
04-29-2005 12:55 PM
And one thing more, when you say "write to the file", it has come to mean that the application server is being implied.
In case, you want to talk about the presentation server, use something like "download from an internal table"...
05-04-2005 7:33 AM
Hi KSK,
did you solve your problem? Otherwise: post your coding!
Regards,
Christian