IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Event handling in CICS or Mantis.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Tue Oct 04, 2005 3:20 pm
Reply with quote

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
View user's profile Send private message
mallikiran

New User


Joined: 07 Sep 2005
Posts: 49

PostPosted: Tue Oct 04, 2005 3:41 pm
Reply with quote

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
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Tue Oct 04, 2005 4:00 pm
Reply with quote

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
View user's profile Send private message
mallikiran

New User


Joined: 07 Sep 2005
Posts: 49

PostPosted: Tue Oct 04, 2005 7:47 pm
Reply with quote

Not in CICS. Only Attention Identifiers cause CICS to intiate a task.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top