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: 

Open dataset maximum line size

Former Member
0 Kudos

Hi,

Is there any maximum limit to the line size that a file can have in Open dataset?

If yes, what is it?

I have file with lot of columns. Some of the fields towards the end get truncated when i download in appln server using open dataset.

                          • Useful answers will be rewarded*****************

Regards,

Kriththika

2 REPLIES 2

former_member223537
Active Contributor
0 Kudos

HI Kriththika,

The limit is 256 characters, if you open the file in application server.

Download the file to presentation server using transaction CG3Y & then check.

None of the field would be truncated.

Best regards,

Prashant

Former Member
0 Kudos

Hi

Maximum line size is 1023 and you can only print upto 255 characters.

LINE-SIZE col

Formats the new page with the number of columns specified in col, except in the case of LINE-SIZE = 0 which indicates line length set by the system according to the standard window width.

The addition ... LINE-SIZE col is only effective on the new page if it is also the first page of a new list level.

The addition works only before initialization of the new list level (with WRITE, SKIP, ...).

For the default setting use the addition ... LINE-SIZE in the REPORT statement.

The maximum line length is 1023. You should keep list width to the miniumum possible. This improves useability and performance, and makes the list easier to print (recommendation: LINE-SIZE < 132). For very wide (LINE-SIZE > 255) lists, see the notes for using LINE-SIZE greater than 255.

<b>reward if usefull</b>