View previous topic :: View next topic
|
Author |
Message |
shrads
New User
Joined: 21 Feb 2007 Posts: 2 Location: indore
|
|
|
|
I want to handle function keys(PF1 to PF12) in my program and have no clue how to do that, can someone help me with this? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello shrads,
Are you working in CICS or tso/ispf? |
|
Back to top |
|
|
socker_dad
Active User
Joined: 05 Dec 2006 Posts: 177 Location: Seattle, WA
|
|
|
|
I am going to assume that this is CICS - and that you have some idea of what you are doing to begin with. After all, I can answer the question, but if you have no idea what's going on, the answer is useless.
To handle function keys, you have to include the copybook DFHAID in your program. It is supplied by IBM and has all the representations of the function keys.
Then you can just type
to check if function key F3 was pressed.
However, I have a sneaky suspicion that this tidbit won't do you any good. So to follow up, invest in a good CICS/COBOL manual. May I suggest Murach's CICS for the COBOL Programmer? The answer above was found on page 50. |
|
Back to top |
|
|
|