Thanks for the tutorial links, where I learned:
"Tutorial ---------------------- PA1 - ATTENTION --------------------- Tutorial
Command ===>
Normally, you should not use PA1 while operating in ISPF full-screen mode.
PA1 can be used when operating in TSO line mode to exit from a TSO command,
CLIST or REXX exec running under ISPF.
While ISPF is in full-screen mode, if you press PA1 after the keyboard has
been unlocked, PA1 is treated like PA2 (RESHOW). However, if you press PA1 a
second time without any intervening interaction, the current function ends and
the primary option menu (or a top-level selection panel supplied by the dialog
writer) displays. Pressing PA1, while ISPF (under TSO) is operating in TEST
mode, causes an immediate exit.
If, while an ISPF function is processing, you unlock the keyboard (by pressing
the RESET key) and then press PA1, normally the function ends and the Primary
Option Menu displays."
Yes, my PCOMM ESC key maps to "Attention" or "[sys attn]" in PCOMM terms.
Shift-ESC maps to "SYS Request" or "[sys req]" in PCOMM terms.
Using the PCOMM pop-up keypad for "Attn" generates the exact same results as
"Esc" on my PCOMM keyboard mapping.
So I learned a new thing today, thank you.
Peter
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Tom Marchant
Sent: Monday, February 18, 2019 5:50 PM
To: [email protected]
Subject: Re: Where does ISPF determine how to repsond to "Attention" function?
From the ISPF main menu, press PF1.
Select General information.
Select PA keys
This will explain the PA1 (ATTN) and PA2 (RESHOW) functions, as used by ISPF.
Next, you will want to see how these keys are mapped for your emulator. IIRC
PCOMM also has a pop-up keypad for these and other functions.
--
Tom Marchant
On Mon, 18 Feb 2019 22:20:08 +0000, Farley, Peter x23353 wrote:
>[Dual-posted to ISPF-L and IBM-MAIN]
>
>On my employer's z/OS 2.2 system and as far back as they have employed me
>(OS/390 R10 IIRC), pressing "Attention" (Esc on my PCOMM keyboard map) while
>in an ISPF screen "refreshes" the screen to the last stable state, so if you
>accidentally erased a whole line of program code or JCL you can recover what
>was there before the erase as long as you didn't press Enter or any PF/PA key
>before pressing "Attention".
>
>On a friend's z/OS system (not sure of the release), pressing "Attention" at
>any ISPF screen causes the terminal to be taken out of service (VTAM INACT).
>
>My question is where and how does ISPF determine how to respond to "Attention"
>to refresh the screen instead of making the terminal INACT? Or is that a VTAM
>function/setting of some kind? If it is VTAM, where is it specified?
>
>Just curious here, no actual problem to be solved ("Doctor! Doctor! It hurts
>when I do that!"; "Well, don't do that!").
>
>Peter
--
This message and any attachments are intended only for the use of the addressee
and may contain information that is privileged and confidential. If the reader
of the message is not the intended recipient or an authorized representative of
the intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication
in error, please notify us immediately by e-mail and delete the message and any
attachments from your system.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN