Our site has a TSO CLEAR command that "clears the 3270 display screen and 
places the cursor at row1, column 1". The site documentation says "The CLEAR 
TSO command processor is provided from the SHARE tape.".

CLEAR may be an alias for another program name.


-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Charles Mills
Sent: Wednesday, June 17, 2026 5:16 PM
To: [email protected]
Subject: Two TSO terminal I/O from Rexx questions

1. If one were writing a Rexx exec to run in an interactive TSO environment, 
what would be the best way to clear the screen and make the next SAY write to 
the first line of the screen? Calling out to a user-written assembler routine 
that used the STLINENO macro? Or ... ?

2. From a Rexx exec running in interactive TSO, what would be the best way to 
determine the number of lines on the terminal? Basically the number of SAYs 
that one could do before the user received a *** prompt?

Any related considerations?

Thanks,
Charles

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