Interview Questions   Tutorials   Discussions   Programs   

CICS - How to establish dynamic cursor position on a map? How to get the cursor position when we receive a map?




383
views
asked mar September 7, 2014 06:01 AM  

How to establish dynamic cursor position on a map? How to get the cursor position when we receive a map?


           

1 Answers



 
answered By Mswami   0  

We dynamically position a cursor through an application program using a symbolic name of the symbolic map by placing -1 into the field length field(i.e., fieldname + L)of the field where you wish to place the cursor. The SEND MAP command to be issued must have the CURSOR option(without value). Also, the mapset must be coded with MODE = INOUT in the DFHMSD macro. We get the cursor position when we receive a map by checking EIBCPOSN, which is a halfword(S9(4) COMP) binary field in EIB, and contains offset position(relatively to zero) of the cursor on the screen.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert