Check into the following EXECUTIL (HT and RT) commands. I use them to suppress 
trace output



address TSO "EXECUTIL HT"       /* issue HALT TYPE */               
code execute in here will not display even if trace is on
address TSO "EXECUTIL RT"       /* issue Resume Type */     


          

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Elardus Engelbrecht
Sent: Wednesday, October 24, 2012 10:24 AM
To: [email protected]
Subject: Re: Disabling interrupt and trace for Rexx execs

Itschak Mugzach wrote:

>I don't care for serialization, but wish to lock the keyboard until the end of 
>the rexx execution. I know doing this with TSO macros, but just checking if 
>Rexx can do this as well. If the keyboard is locked, the user can't enter 
>debug mode (msg

Try this in REXX: ISPEXEC "CONTROL DISPLAY LOCK"

That statement will just lock the keyboard temporarily, but will not prevent 
ATTN, PA1 and PA2 to be used. 

I'm not sure, even after RTFM, if those 2 macros (STATTN and STTMPMD) you first 
mentioned will affect that REXX statement.

Groete / Greetings
Elardus Engelbrecht

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