Skip to content
Useful ISPF command to issue a TSO Command and view or browse the output
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.


Useful ISPF command to issue a TSO Command and edit or browse the output

Function: Issue a TSO Command, CLIST, EXEC and
capture (trap) the generated messages
then display those in ISPF Browse or Edit.

Syntax: %tsotrap opt tso-command command-parameters

       opt is optional and if used must be:         
           -B to indicate browse of the messages    
           -E to indicate edit of the messages      
       tso-command is any TSO Command, Clist, or Exe
       command-parameters are any paramters to the  

Notes: The TSO Command must generate messages that can be captured using the REXX OUTTRAP command which means messages generated by PUTLINE and not TPUT.

You can’t perform that action at this time.