View previous topic :: View next topic
|
Author |
Message |
itsmeaparna
New User
Joined: 28 Jul 2006 Posts: 4 Location: pune
|
|
|
|
I have defined map using SDF facility. My CICS program is working fine except Attention keys PA1, PA2 and Clear key. When first time map gets displayed Clear key works but then afterwards after any other key hit or data display the Attention keys do not work. I tried to debug the program but after pressing Clear key the control does not come to my module it directly goes to CICS. Please help me in resolving this problem as early as possible. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Please help me in resolving this problem as early as possible. |
Your urgency is not our urgency -- please remember there are volunteers answering questions here.
Line 379 of your code is wrong.
Seriously, if you cannot provide adequate information for us to help you, just what do you expect? At a minimum, you need to describe how your program sends the map, receives the map, RESENDS the map, and returns to CICS. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
itsmeaparna wrote: |
I have defined map using SDF facility. My CICS program is working fine except Attention keys PA1, PA2 and Clear key. |
The 'Clear key' is not an 'Attention key', its effect is local to the terminal screen only, like the EOF key.
Quote: |
When first time map gets displayed Clear key works but then afterwards after any other key hit or data display the Attention keys do not work. |
You are saying that once the screen is cleared, CICS terminal control is the only responder to any Attention, Function or Enter keys?
Quote: |
I tried to debug the program but after pressing Clear key the control does not come to my module it directly goes to CICS. Please help me in resolving this problem as early as possible. |
In a pseudo-conversational setting, the easiest way to create your symptoms would be to place the next transid into the first four bytes of the map with the MDT set, possibly dark and definitely protected.
It's an old technique and it works, but the Clear key does defeat it. Why not insure return to your program by using the TRANSID on the RETURN command, this would allow you to handle the mapfail after the user clears the screen. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
Quote: |
I tried to debug the program but after pressing Clear key the control does not come to my module it directly goes to CICS. Please help me in resolving this problem as early as possible. |
You have program logic problems, as CICS GUY indicates, look at EXEC CICS RETURN TRANSID
Have you tried debugging your program with CEDF ?
If you are not familar with CEDF, ask your Manager or contact your CICS technical support people. |
|
Back to top |
|
|
itsmeaparna
New User
Joined: 28 Jul 2006 Posts: 4 Location: pune
|
|
|
|
thanks for help.. the problem got solved. It was not a programming error, attentions keys were not working because of incorrect function table entry for my new transaction. After correcting the function table entry, attention keys are working fine |
|
Back to top |
|
|
|