Supress TSO message while executing a REXX.

Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor

Moderator: mickeydusaor

Post Reply
Ranveer Singh
New Member
Posts: 5
Joined: Thu Oct 09, 2014 9:51 am

Supress TSO message while executing a REXX.

Post by Ranveer Singh »

Hello,

Unfortunately I don't have mainframe access as of now and can't really see it working. But I was looking for a way to suppress messages from TSO. I looked at a REXX code that uses EXECUTIL and was thinking if it could do that?

From the Manual z/OS TSO/E REXX Reference SA32-0972-00
Use HT (Halt Typing) to suppress terminal output generated by an exec. The exec continues running. HT suppresses any output generated by REXX instructions or functions (for example, the SAY instruction) and REXX informational messages. REXX error messages are still displayed. Normal terminal output resumes when the exec completes. You can also use EXECUTIL RT to resume terminal output.

Code: Select all

>>-EXECUTIL-----------------------------------------------------> 

>--+-EXECDD(-+-CLOSE---+-)-------------------------------------------+->< 
   |         '-NOCLOSE-'                                             | 
   +-TS--------------------------------------------------------------+ 
   +-TE--------------------------------------------------------------+ 
   +-HT--------------------------------------------------------------+ 
   +-RT--------------------------------------------------------------+ 
   +-HI--------------------------------------------------------------+ 
   +-RENAME NAME(function-name)-+-------------------+-+------------+-+ 
   |                            '-SYSNAME(sys-name)-' '-DD(sys-dd)-' | 
   '-SEARCHDD(-+-NO--+-)---------------------------------------------' 
               '-YES-' 
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “TSO, ISPF & REXX (Do you still do CLIST?!).”