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: 

How to transfer data to application server when the string has spaces

Former Member
0 Kudos
102

Hello All,

I have string with trail spaces in it when i transfer the data into the file in application server then i am unable to that spaces. how can i solve this problem?


    OPEN DATASET file FOR OUTPUT IN TEXT MODE
    ENCODING NON-UNICODE IGNORING CONVERSION ERRORS.

I used the above statement for this.

When i download the file from Application server to presentation server these spaces should exist in the file.

Regards,

Lisa.

Message was edited by:

Lisa Roy

5 REPLIES 5

Former Member
0 Kudos
79

Hi Lisa,

Try using Encoding DEFAULT.

Ashven

former_member225631
Active Contributor
0 Kudos
79

Hi, before transfering the data into the file in application server try SHIFT ALPHABET RIGHT DELETING TRAILING M2 in source data.

0 Kudos
79

Hi Balaji,

Could you please provide me some code.

Regards,

Lisa.

0 Kudos
79

What is M2 here and what value it contains

Message was edited by:

Lisa Roy

null

Former Member
0 Kudos
79

I will create another post