ISPF uses VTIOC facilities, e.g., TGET, TPG, TPUT,  to communicate with the 
terminal. By default VTIOC will interpret ATTN or PA1 as attention and PA2 as 
reshow. However,

 1. It's anybody's guess whether PCOMM send ATTN or PA1 for "Attention".

 2. ISPF runs in full screen mode, so things are a little different.

 3. The above assumes that VTIOC is in session with the terminal, not with an 
intermediate program.

>From what you wrote I would assume that at your friend's shop the terminal is 
>coming in through, e.g., NVAS, TPX.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Farley, Peter x23353 <[email protected]>
Sent: Monday, February 18, 2019 5:20 PM
To: [email protected]
Subject: Where does ISPF determine how to repsond to "Attention" function?

[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

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to