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 max. record length

Former Member
0 Likes
2,556

Hi All,

We have a requirement to write some data in to a file on Application Server and the length of each line/record could go beyond 600 Characters. But we find that in ECC 6.0 system, it does get truncated at 512 Characters for each line.

Does anyone have an idea of how to write a line more than 512 in length in to a file on the Application Server!

OPEN DATASET w_c_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

TRANSFER wa_header-list TO w_c_file.

Warm Regards,

Roopesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,382

HI rajendran.

It doesn't truncate .

It happens that you see only a part of the line in AL11, but it does have the total data.

YOu can download the file to presentation server using the Transaction: cg3y

and see for your self.

Regards,

ravi Kanth Talagana

Hi All,

We have a requirement to write some data in to a file on Application Server and the length of each line/record could go beyond 600 Characters. But we find that in ECC 6.0 system, it does get truncated at 512 Characters for each line.

Does anyone have an idea of how to write a line more than 512 in length in to a file on the Application Server!

OPEN DATASET w_c_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

TRANSFER wa_header-list TO w_c_file.

Warm Regards,

Roopesh

4 REPLIES 4
Read only

Former Member
0 Likes
1,383

HI rajendran.

It doesn't truncate .

It happens that you see only a part of the line in AL11, but it does have the total data.

YOu can download the file to presentation server using the Transaction: cg3y

and see for your self.

Regards,

ravi Kanth Talagana

Read only

0 Likes
1,382

Hi Ravi,

Thanks a lot for replying.

But then when I tried downloading using <b>CG3Y</b>, it doesn't show the full line either.

In fact, when I try to save I find that it truncates at 256 Characters itself.

Warm Regards,

Roopesh

Read only

0 Likes
1,382

Hi Ravi,

I tried downloading in ASCII format using CG3Y and it truncates at 256 Characters.

But it displays the whole line/record when I try downloading in BINARY format !!

Any idea why is that...

Warm Regards,

Roopesh

Read only

Former Member
0 Likes
1,382

Hi,

Write a small program to read the data also from the application server...and display them...

Thanks

Naren