If you want a command and a WCC then you need TPUT FULLSCR

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר




________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Charles Mills <[email protected]>
Sent: Thursday, June 18, 2026 12:21 PM
To: [email protected] <[email protected]>
Subject: Re: Two TSO terminal I/O from Rexx questions


External Message: Use Caution


TSO's line count is fine. I added a Say in a DO loop and it ran down to the 
bottom of the screen, produced a *** prompt, and continued properly after Enter.

Still no idea why the 5C comes out after the text.

On Thu, 18 Jun 2026 11:18:06 -0500, Charles Mills <[email protected]> wrote:

>And testing reveals that the answer is that it IS interpreted as a 3270 
>datastream, partially. The following Rexx, running under ISPF
>
>/* Rexx */
>say 'some stuff ************************************'
>say 'f5c311404040'x||'Hellow clear world!'
>say 'more stuff'
>say 'and still more'
>
>produces the following at the top of the screen.
>
>Hellow clear world! ***************************
>5C
>more stuff
>and still more
>***
>
>My interpretation is
>
>- the F5C3 is ineffective. The command has to be the first thing in the 3270 
>DS and Rexx and/or TSO already provides that.
>- However, the SBA (0,0) has the desired effect. Notice that my first SAY has 
>been (partially) overwritten
>- I can't explain why the F5C3 comes out *after* "Hellow clear world!" Can 
>anyone else?
>
>I am not sure if I have not made a mess of TSO's unformatted screen 
>management. I wonder if TSO's "time to clear the screen" line count may be 
>thrown off.

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