From my collection of old manuals, the 1982 version of Rexx (3.10)
recommended EXECIO or IOX (which it notes was "specially written for
Rexx") for file I/O. Stream/linein/lineout, etc. aren't there.
The Stream/linein/lineout,etc. are not in the 1986 VM/SP Release 5
System Product Interpreter manual either.
There was a 1992 package for AIX from Endicott that includes Stream,
Linein, lineout, etc. including the replace & append options
Stream, Linein, Lineout, charin, charout, etc. appear to be fully
documented in the VM/ESA 2.1 manual from 1993. However, unlike the 1992
AIX package "append" is not documented as an option on the stream open
command. Only read/write/new/replace are listed as "intents". The
summary of changes at the front of the manual indicates that the I/O
functions were added to VM/ESA 2.1 in June, 1993 and existed in a
previous version of Rexx.
The wording in the AIX description of append is similar to the
description in rexxref. It says the write pointer is positioned at the
end of the stream and you cannot position the write pointer to any
position that already existed when the file was opened.
It doesn't say that the write location operand of charout or lineout is
ignored. That sounds to me like it might have allowed you to re-write
any new lines you appended but not any old, existing lines. It also
doesn't say what happens if you try to re-write an old location i.e.
does it append anyway? or does it return a non-zero result indicating
the chars/line was not written?
Chuck Berghorn
oorexx-devel@lists.sourceforge.net
On 2/10/21 12:56 PM, Mike Cowlishaw wrote:
The Stream functions were added to Rexx in 1982 (I think) but didn't make
the cut for the first VM/CMS release (SP3, 1983). They are in the first
edition of The Rexx Language (1985). It took a frustratingly long time for
them to be added -- no quite sure why that was.
Mike
-----Original Message-----
From: J Leslie Turriff [mailto:jlturr...@mail.com]
Sent: 10 February 2021 16:36
To: Open Object Rexx Developer Mailing List
Subject: Re: [Oorexx-devel] open() option APPEND
You may be right; I was unable to find a copy of the
pertinent Rexx User's Guide from that period, though
http://www.rexxinfo.org/All%20IBM%20Rexx%20manuals/ALLIBM_1.HTM
purports to provide such.
Leslie
On 2021-02-10 04:30:20 René Jansen wrote:
Hi Leslie,
I am sure you mean 1984. And then there was still only
EXECIO. I have
to look up when VM/CMS got stream; TSO never had it until
now, unless
we installed a library. I will try to find out the timeline.
best regards,
René.
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel