I have a very strange issue and I cannot figure out why it is not working.
I read input of type pointer and store it to local temp type any. I then copy the data from any to my static area of the instance DB using sfc20.
I seem to be getting a return code of W#16#8329.
The help tells me Alignment error when writing a parameter.
This error code indicates that the reference to parameter x is a bit address that is not equal to 0. Please help before I start drinking at work!@.
See the screen shot for code reference and online view.
LAR1 P##Pointer_In
L B#16#10 //ANY-pointer
T LB 0
L B#16#1 //Type bool
T LB 1
L W#16#10 //Length 16 bools
T LW 2
L 0 //instance db
T LW 4
L D [AR1,P#2.0] //area crossing pointer
T LD 6
I can store the data to a temp area of the same data type without ret_val error so this makes no sense to me.
Thx for any help
I read input of type pointer and store it to local temp type any. I then copy the data from any to my static area of the instance DB using sfc20.
I seem to be getting a return code of W#16#8329.
The help tells me Alignment error when writing a parameter.
This error code indicates that the reference to parameter x is a bit address that is not equal to 0. Please help before I start drinking at work!@.
See the screen shot for code reference and online view.
LAR1 P##Pointer_In
L B#16#10 //ANY-pointer
T LB 0
L B#16#1 //Type bool
T LB 1
L W#16#10 //Length 16 bools
T LW 2
L 0 //instance db
T LW 4
L D [AR1,P#2.0] //area crossing pointer
T LD 6
I can store the data to a temp area of the same data type without ret_val error so this makes no sense to me.
Thx for any help