On 5/21/19, Joe Monk <[email protected]> wrote: > With the INTERRUPT option and TRAP(ON), the compiler should generate a STAX > macro for TSO/E attention processing.
Thanks for the suggestion. Adding 'TRAP(ON)' to the PARM for IBMZPLI throws a "not recognized option error" Instead, running the program with CALL 'MYLIB(PROG)' 'TRAP(ON)/123456789' executes without error, but ATT still "kills" the program. PA1, doesn't do anything. Re: 'STAX macro". - I found the SYS1.SAMPLIB(ARCTOOLS) / SLEEPASM program. (STAX macro). It works as expected for the ATTENTION. key mapping in T. Brennan's Vista 3270. (Well it works after I edited to skip the parameter get/check, which for some reason is not working) (i.e hardcoded to a 60 sec time out). So something going on with the PL/I program and/or the way I am compiling / running it. Mike > > Joe > > On Mon, May 20, 2019 at 4:13 PM Mike Stramba <[email protected]> wrote: > >> No, it's not a "good call". >> >> I do have the INTERRUPT option enabled. >> >> At least that's what the compiler listing says. >> >> What code does the INTERRUPT option generate ? >> >> >> Mike >> >> On 5/20/19, Steve Smith <[email protected]> wrote: >> > Good call... the INTERRUPT option is the likely culprit (the O.P. can >> > say >> > for sure). Now maybe someone could explain why such an option exists. >> > Would you like an 'EOF' option to specify whether EOF should be >> > detected? >> > >> > TSO is a very-multi-tasked environment. Each command is ATTACHed as a >> > subtask, and the default for attention is to mercilessly DETACH it >> > (which >> > is essentially CANCEL for a task). Except for the exceptions, of >> > course. >> > >> > sas >> > >> > >> > On Mon, May 20, 2019 at 11:03 AM Joe Monk <[email protected]> wrote: >> > >> >> If youre trying to run under TSO, did you compile with the INTERRUPT >> >> option? >> >> >> >> Joe >> > >> > ---------------------------------------------------------------------- >> > 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 >> > > ---------------------------------------------------------------------- > 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
