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: 

DATA_OFFSET_TOO_LARGE dump for field symbol assignment/offset

Former Member
0 Kudos

Hi,

I am getting a DATA_OFFSET_TOO_LARGE dump for field symbol assignment/offset.

Dump says, 'In the running program "ZTEST", the field "<WA_FINAL>" of the type "u" and length 2174 was to be accessed with the offset 2204. However, subfield accesses with an offset specification that is not smaller than the field length are not permitted.'

Here <WA_FINAL> have to be 'TYPE any' to avoid assignment conflicts later in the logic.

It's basically dumping at <WA_FINAL>+V_LEN(V_OFF) = WA_DATA-FIELD1.

Here V_LEN LIKE DD03L-LENG & V_OFF LIKE DD03L-LENG.

Please suggest how to get rid of this dump.

Regards,

Ritesh.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

The dump is very clear, your field is smaller than the offset.

The problem is most likely how you are calculating v_len and v_off.

You could change that, but there is probably an easier and faster way to do what you are trying there. Is <wa_final> something like a line from a file or what?

1 REPLY 1

Former Member
0 Kudos

The dump is very clear, your field is smaller than the offset.

The problem is most likely how you are calculating v_len and v_off.

You could change that, but there is probably an easier and faster way to do what you are trying there. Is <wa_final> something like a line from a file or what?