I'd say that the first step is to run a trace and find out what your terminal 
simulator is actually sending when you click on ATTENTION. Ideally, it will be 
the aid for PA1, exactly one time, but life is full of surprises.

Does your ATTENTION key work as expected with other applications?


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

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Mike Stramba <[email protected]>
Sent: Monday, May 20, 2019 12:37 AM
To: [email protected]
Subject: PL/I TSO Interrupt - Attention handling - SLIP trap X33E / X13E

I'm trying to compile and run the PL/I ON ATTENTION interrupt example
from the PLI prog guide ver 4 r4 (pg 542   / GI11-9145-03)

The code contains an ON ATTENTION handler with a simple message and prompt :
 and the main line is a simple endless loop.

The goal was just to write an extremely primitive counter-tester,
which the user can interrupt after X seconds to see what
counting-performance had been achieved.

When I run the program and then press my 3270 emulator attention key,
the program just ends instead of the attention handler gaining
control.

The console log shows a SLIP TRAP X33E and X13E were matched.

MVS system codes SA38-0665-30 says for 33E :
 "During processing of a DETACH macro that specified a STAE=YES
operand, the system found that the specified subtask had not completed
processing"

code 13E is :
 "The task that created a subtask issued a DETACH macro for that
subtask, specifying STAE=NO before the subtask ended.

I ASSume the "subtask" is my test program ??

And the "task" is  TSO ??

Or maybe not :/

How do I just get the ON ATTENTION handler to work ?

Mike

----------------------------------------------------------------------
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