TPUT ASIS
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Rupert Reynolds <[email protected]> Sent: Friday, June 20, 2025 6:14 PM To: [email protected] <[email protected]> Subject: Re: In IBM-land, AFP means... External Message: Use Caution I must admit I've started on Linux/x64 and I haven't decided whether to make it run under TSO, but I've tried not to burn any bridges. It already supports EBCDIC and UTF-8, LE and BE hardware for example. I can't remember how I did it, but in the early 1990s I wrote a SAYNR command in assembly, to be used from Rexx (mimicking WRITENR from CLIST) and it worked in TSO line mode with VTAM and a 3278#5. I'm guessing I used TPUT, but I may have had to do more work. MegaMathics in decimal I'd already done years ago, including trig, logs, etc. This all started because I wanted typed Rexx with (what I call) conventional scoping. My middle name is Underestimator :-) Roops On Fri, 20 Jun 2025, 22:14 Paul Gilmartin, < [email protected]> wrote: > On Fri, 20 Jun 2025 20:48:01 +0000, Seymour J Metz wrote: > > >The closest TSO has to standard input and output is the stack. > > > >There is in implied interaction between charin and charout; you want a > prompt to be written before doing the read. So while it is buffered there > has to be provision for automatically flushing it. > > > And some want to be able to type a reply on the same line as the prompt. > call charout( , 'Prompt: ' ) /* Handles that nicely. */ > > When should your putative stack be flushed? > > -- > gil > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
