Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Attention keys are not working in CICS-COBOL module

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
itsmeaparna

New User


Joined: 28 Jul 2006
Posts: 4
Location: pune

PostPosted: Sun Apr 18, 2010 5:15 pm    Post subject: Attention keys are not working in CICS-COBOL module
Reply with quote

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

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Sun Apr 18, 2010 6:09 pm    Post subject:
Reply with quote

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

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sun Apr 18, 2010 6:24 pm    Post subject: Re: Attention keys are not working in CICS-COBOL module
Reply with quote

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

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sun Apr 18, 2010 10:30 pm    Post subject:
Reply with quote

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

New User


Joined: 28 Jul 2006
Posts: 4
Location: pune

PostPosted: Tue Apr 27, 2010 9:13 pm    Post subject:
Reply with quote

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 icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us