Application Development and Automation 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: 
Read only

OPEN DATASET STRING Problem

Former Member
0 Likes
1,010

Hi All,

I am writing to .txt file using open dataset on application server, using following way:

-> Concatenate the relevant fields of the table into a string, separated by a (#).

-> Transfer the string to the opened dataset ds.

Everything good, I', getting trouble with the string. String is holding more than 3000+ characters, program does not give any error but if I can use CG3Y to download created file on presentation server, not able to see the whole string written into the file.

I suppose 256 char is limit to transfer buffer for strings, how can I overtake this limit? Is there any workaround?

Thanks is advance.

4 REPLIES 4
Read only

ThomasZloch
Active Contributor
0 Likes
697

Strings can have any length (subject to system settings and resources), so I suspect that CG3Y is cutting off your data.

Check the file content on the application server, use other means to copy to presentation server.

Thomas

Read only

0 Likes
697

Hi Thomas,

I used AL11 as well to display the file, but the result is same. Is there any limitation with OPEN DATASET?

Read only

0 Likes
697

AL11 also cuts off data when displaying contents, as far as I know. All I can tell is that neither strings nor OPEN DATASET have a length limitation by default.

Thomas

Read only

Former Member
0 Likes
697

Solved by creating another program.