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

Submitted by: Administrator
We dynamically position a cursor through an application program using a symbolic name of the symbolic map by placing -1 into the field length (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.
Submitted by: Administrator

Read Online CICS Job Interview Questions And Answers