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

please help (urgent) offset problem

Former Member
0 Likes
1,467

Hi all ,

while working on upgrade i got an error of offset and i am not able to rectify it.

i think the error is in spell structure bcoz it contains one integer having length 3.

bcoz of it is not allowing it to clear .

please help me and tel me the solution.

thanks in advance

getting error in this line :

CLEAR spell+(403).

i tried this but not working :

CLEAR : spell+(18),

  • spell+18(3),

  • spell+21(382).

error i am getting :

The length declaration "403" exceeds the length of the character-type

start (=18) of the structure. This is not allowed in Unicode programs .

1 ACCEPTED SOLUTION
Read only

former_member480923
Active Contributor
0 Likes
1,155

From the Structure of Spell find the fields which are in the range of 0 -> 403, clear the fields individually from the Structure.

Hope that Helps

Anirban M.

11 REPLIES 11
Read only

Former Member
0 Likes
1,155

Hi,

try this:

spell(18).

Jogdand M B

Read only

0 Likes
1,155

hi thanks for replyin but i want to clear upto 403

Read only

0 Likes
1,155

have you tried this , use the starting position 0 as below,

clear v_char+0(403) .
 
or this
 
clear v_char+0(403) with space.

Reward ans close thread if helpful

Read only

former_member480923
Active Contributor
0 Likes
1,156

From the Structure of Spell find the fields which are in the range of 0 -> 403, clear the fields individually from the Structure.

Hope that Helps

Anirban M.

Read only

0 Likes
1,155

hi all ,

thanx 4 ur support and replies

my problem is resolved by clearing each field individually.

thank u very much .

Read only

0 Likes
1,155

where are the points for that?

Read only

0 Likes
1,155

yar i am trying but it is not allowing me to give reward points.

Read only

Former Member
0 Likes
1,155

Hi

Why you are using the number 403 here

CLEAR spell+(403).

use the actual size of the field

you can give max of 132 char text.

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
1,155

try this

CLEAR spell+(403) with space.

Read only

Former Member
0 Likes
1,155

try this

clear v_char+0(403) .

or this

clear v_char+0(403) with space.

Message was edited by:

Chandrasekhar Jagarlamudi

Read only

Former Member
0 Likes
1,155

Hi Anit,

clear spell+0(3) .

or this

clear spell+0(3) with space.

Reward points if helpful.

Regards,

Hemant