Page 1 of 1

Dynamic positioning of cursor

PostPosted: Thu Nov 15, 2018 5:28 pm
by riya_kottoor
Hi,

Can you please explain what is happening when i move -1 to field+l variable for dynamic cursor positioning along with cursor option in send map?
Why only -1 is moved; why -1 is having importance in that syntax?

Thanks,
Riya

Re: Dynamic positioning of cursor

PostPosted: Thu Nov 15, 2018 6:10 pm
by Robert Sample
If you look at the bit pattern for a value of -1 in a binary half-word variable, you will see X'FFFF' -- which should explain why it is used.

Re: Dynamic positioning of cursor

PostPosted: Thu Nov 29, 2018 5:40 pm
by riya_kottoor
now i got it. thank you so much.