Re: Can fortran clear the 3270 screen?

Rick Fochtman <[email protected]> Mon, 07 Jun 2010 17:52:48 -0500
Newsgroups gmane.comp.emulators.turnkey-mvs
Message-ID <[email protected]>
--------------------------------<snip>---------------------------------

>  
>
> Hey all...
>
> Did you know that the fortran pause statement prompts the operator for 
> permission to continue?
>
>
> Is there a way to clear the 3270 screen from fortran, without using 
> fullscreen programming?
>
> Thanks...
>
> Ron
>
---------------------------------<unsnip>----------------------------------
FORTRAN doesn't know anything about "screens" but a very simple 
Assembler subroutine, callable from FORTRAN, can clear the screen for 
you. There's a number of CLRSCRN and CLR3270 TSO commands on the 
CBTTAPE.ORG Web site. You could call any of them with a simple CALL 
statement in FORTRAN. That's not their intended use, but the linkage is 
the same and they don't process any command operands, so they should 
work just find. They could also be called from COBOL, if anyone else is 
tempted to play terminal games.

Rick