View previous topic :: View next topic
|
Author |
Message |
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
Hi,
Can anyone throw some light on the event handling in CICS or MANTIS. Events likes key press etc. I need to capture the cursor position at a particular field and when the key is pressed i need to show some pop up message.
thanking in advance.
Rahul. |
|
Back to top |
|
|
mallikiran
New User
Joined: 07 Sep 2005 Posts: 49
|
|
|
|
You may use the following two variables in CICS to determine the key pressed and the cursor position:
EIBAID - To determine the key pressed. Values DFHPF1 to DFPF24, DFHPA1 to DFHPA3, DFHENTER
EIBCPOSN - To determine the cursor position when the Attention Identifier (AID) was pressed. It has values 0 to 1840 for a 24 x 80 screen.
Not sure about MANTIS. |
|
Back to top |
|
|
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
Is it possible to capture keypress even as such, no matter what key is pressed (except PFxx and PAx keys and ENTER)??? |
|
Back to top |
|
|
mallikiran
New User
Joined: 07 Sep 2005 Posts: 49
|
|
|
|
Not in CICS. Only Attention Identifiers cause CICS to intiate a task. |
|
Back to top |
|
|
|