Does anyone know if there is an issue with the way I am doing this. This works fine if I don't use the temp and go with a DB instead.
I have a temp Sserial =String[7] (address of 40)
and moveing an array of characters into it
then setting the hearder to 707hex
CALL "BLKMOV"
SRCBLK :=#pDestination
RET_VAL:=#iSFC20Return
DSTBLK :=#sSerial[2]
L W#16#707
T LW 40
So questions are:
As far as DSTBLK when I specifie [2] I would think it would put the character found into LB 42 and so on thu LB 47
And then I would load the header of W#16#707 max of 7 actual of 7.
Like I said when I change the DSTBLK a DB area it works fine, so I was wondering if it's an issue with the Local area, and is there anyway of monitoring a string in the local or do you just have to know it's what in there. If so it seems like this could be a very hard item to trouble shot.
Thanks,
-Joel
I have a temp Sserial =String[7] (address of 40)
and moveing an array of characters into it
then setting the hearder to 707hex
CALL "BLKMOV"
SRCBLK :=#pDestination
RET_VAL:=#iSFC20Return
DSTBLK :=#sSerial[2]
L W#16#707
T LW 40
So questions are:
As far as DSTBLK when I specifie [2] I would think it would put the character found into LB 42 and so on thu LB 47
And then I would load the header of W#16#707 max of 7 actual of 7.
Like I said when I change the DSTBLK a DB area it works fine, so I was wondering if it's an issue with the Local area, and is there anyway of monitoring a string in the local or do you just have to know it's what in there. If so it seems like this could be a very hard item to trouble shot.
Thanks,
-Joel