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.

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




________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Paul Gilmartin <[email protected]>
Sent: Friday, June 20, 2025 2:34 PM
To: [email protected] <[email protected]>
Subject: Re: In IBM-land, AFP means...


External Message: Use Caution


On Fri, 20 Jun 2025 17:19:27 +0000, Seymour J Metz wrote:

>IBM has not implemented stream I/O for TSO. If they ever do implement it then 
>i would expect a chrout() or lineout() with an omitted name to go to the top 
>output element on the stack, via PUTLINE.
>
Is that ANSI?  Regina goes to stdout.

How should PUTLINE handle charin() or charout()
handle a partial line (no linefeed)?  Cache it?

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

Reply via email to