> In neither does it provide SIGNAL ON NOTREADY.  
> Is that an ANSI requirement?

Yes; this would be covered by an RFE for ANSI compliance. Note, however, note 
"If the NOTREADY condition is not trapped, processing continues without 
interruption. The NOTREADY condition remains in the OFF state."

> Hmmm... What should lines() and chars() do for:
> o A data set ending with an empty line?  The ironic behavior
>    that chars() return 0 and lines() return 1?

Why ironic? I would argue that anything else would violate "The law of least 
astonishment".

> o A transient stream such as a terminal or a pipe?  Issue a
>    blocking read and not return before the answer is known?

Yes, but note "If, however, it is impossible for a line to be completed because 
of an error or another problem, the NOTREADY condition is raised ".


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [0000000433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Friday, February 21, 2020 9:20 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ZOA Open Automation Utilities

On Fri, 21 Feb 2020 19:58:18 +0000, Seymour J Metz wrote:

>Tear down both walls. IBM provides ANSI REXX routine in Unix System Services 
>that it does not provide for TSO users.
>
(and vice-versa for compiled Rexx?)

In neither does it provide SIGNAL ON NOTREADY.  Is that an ANSI
requirement?

Can't readily be done with a function package.

Hmmm... What should lines() and chars() do for:
o A data set ending with an empty line?  The ironic behavior
  that chars() return 0 and lines() return 1?
o A transient stream such as a terminal or a pipe?  Issue a
  blocking read and not return before the answer is known?
  I've fought that battle with a Pascal RTL.  Didn't quite win.

________________________________________
From:  Paul Gilmartin
Sent: Friday, February 21, 2020 12:26 PM

On Fri, 21 Feb 2020 10:45:36 -0600, Mike Fulton wrote:

>The intent is to also provide these services from the language of your choice 
>...
>
Rexx?

There's a formidable barrier between Unix System Services and TSO.

Mr. Fulton, tear down that wall!

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to