View previous topic :: View next topic |
Author |
Message |
DaveyC Moderator

Joined: 02 Dec 2002 Posts: 151 Topics: 3 Location: Perth, Western Australia
|
Posted: Fri Dec 13, 2002 8:26 am Post subject: |
|
|
If you want to interrupt a program you press a PA key which cannot be trapped to display a message. ESC keys are for PC interfaces like windows, not ISPF... _________________ Dave Crayford |
|
Back to top |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Fri Dec 13, 2002 9:28 am Post subject: |
|
|
If you set the emulator keyboard to map the esc key to ATTN then you can use SIGNAL ON HALT NAME yourlabelname in your rexx code. When the user presses esc then they should get IRX0920I ENTER HI TO END, A NULL LINE TO CONTINUE, OR AN IMMEDIATE COMMAND+ If they enter HI then the signal command will cause the code at yourlabelname to be executed. You could put your message there. |
|
Back to top |
|
 |
Manas Biswal Intermediate

Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Sat Dec 14, 2002 1:43 am Post subject: |
|
|
Hi,
I have used the ZPFKEY variable to trap the last PF key pressed in my REXX programs. But I have never trapped the ESC key. I am interested to know if that can be done.
Regards,
Manas |
|
Back to top |
|
 |
|
|