Re: Can fortran clear the 3270 screen?

Ron Hudson <[email protected]> Mon, 7 Jun 2010 09:28:15 -0700
Newsgroups gmane.comp.emulators.turnkey-mvs
Message-ID <[email protected]>
On Sun, Jun 6, 2010 at 11:22 PM, Gerhard Postpischil
<[email protected]>wrote:

>
>
> On 6/6/2010 10:37 PM, Ron Hudson wrote:
> > Is there a way to clear the 3270 screen from fortran, without using
> > fullscreen programming?
>
> I'm not sure why you ask a question you already (should) know
> the answer to? The TIOC will translate unprintable characters
> to a colon, SBA/SF/IC order all require an unprintable
> character. Q.E.D.
>

I am guessing this spells out "You can't from Fortran"

I will have to google "TIOC"


> You need an assembler subroutine that issues a TPUT with the
> FULLSCR option, and appropriate text. Common is Write; SBA
> (1,1); ' '; RA (1,1,' '): IC which is screen size independent.
> Use Erase Write or Erase/Write Alternate only if you know the
> screen geometry and size in use.
>
> There are other methods (e.g., TSO macros); search the CBT files
> for CLEAR, CLEAR70, CLRSCRN, CLR3270, and any number of
> variations on the name (or look at file 1 online and search that).
>
> Gerhard Postpischil
> Bradford, VT
>  
>