I can’t answer why it isn’t mentioned elsewhere, though I agree that it should be. The docs I referenced are under the Rexx Compiler and Library product (separately orderable and priced), so perhaps that is why the “vanilla” docs don’t reference it.
From my reading of the page I referenced (et. seq.) there are default input and output streams (no STREAM call necessary) but they differ between TSO “background” (or z/OS batch) (SYSTSIN/SYSTSPRT) and TSO “foreground” (SYSIN/SYSOUT). All the TSOE Rexx STREAM docs I read say you can provide a DS name or a DD name like SYSPRINT or SYSOUT (specific statement from that doc pasted below) but no mention of Unix file specifications, so my answer is “I don’t know”. Compatibility (or not) with the Unix Rexx “stream” function is also undocumented from what little I read. Testing STREAM compatibility with Unix Rexx and Unix file access from TSOE STREAM would be an interesting project for a summer intern if you have one. Peter STREAM DDname statement: “A stream name can also be a ddname that is known to TSO/E and has the required data sets or resources allocated to it, for example, SYSPRINT or SYSOUT.” By “known to TSO/E” I am assuming they mean “previously allocated in this step/foreground session” (that would be subject to testing, of course, but it seems like a reasonable interpretation to me). From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: Friday, June 20, 2025 2:15 PM To: [email protected] Subject: Re: In IBM-land, AFP means... On Fri, 20 Jun 2025 17:05:12 +0000, Farley, Peter wrote: >Not true – See >https://urldefense.com/v3/__https://www.ibm.com/docs/en/zos/3.1.0?topic=concept-tsoe-rexx-stream-io-implementation__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!Kauxn5S-ay_2JRp7YfCb2SOcauIaDcMrtk51doF2uX7y7hmkmaSilgkUPRA9iWBQ4Sdltc8B1xyOucVC86eUObjoDsf51NlrxoAzYnZa$<https://urldefense.com/v3/__https:/www.ibm.com/docs/en/zos/3.1.0?topic=concept-tsoe-rexx-stream-io-implementation__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!Kauxn5S-ay_2JRp7YfCb2SOcauIaDcMrtk51doF2uX7y7hmkmaSilgkUPRA9iWBQ4Sdltc8B1xyOucVC86eUObjoDsf51NlrxoAzYnZa$> > >STREAM, CHARIN, CHAROUT, LINEIN, LINEOUT are all supported by the Rexx library. > Thanks. I haven't been keeping up. But (IBM take note!): o Why isn't it mentioned, not even inn Related Publications in: <https://urldefense.com/v3/__https://www.ibm.com/docs/en/zos/3.1.0?topic=tsoe-zos-rexx-reference__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!Kauxn5S-ay_2JRp7YfCb2SOcauIaDcMrtk51doF2uX7y7hmkmaSilgkUPRA9iWBQ4Sdltc8B1xyOucVC86eUObjoDsf51NlrxuiUWc2y$<https://urldefense.com/v3/__https:/www.ibm.com/docs/en/zos/3.1.0?topic=tsoe-zos-rexx-reference__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!Kauxn5S-ay_2JRp7YfCb2SOcauIaDcMrtk51doF2uX7y7hmkmaSilgkUPRA9iWBQ4Sdltc8B1xyOucVC86eUObjoDsf51NlrxuiUWc2y$>> o Does it support SIGNAL ON NOVALUE (ANSI)? o Does it provide a message stream (Might be SYSTERM)? o How can one specify a UNIX pathname as a stream? o Is it compatible with: <https://urldefense.com/v3/__https://www.ibm.com/docs/en/zos/3.1.0?topic=functions-stream__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!Kauxn5S-ay_2JRp7YfCb2SOcauIaDcMrtk51doF2uX7y7hmkmaSilgkUPRA9iWBQ4Sdltc8B1xyOucVC86eUObjoDsf51NlrxvhzQvn1$<https://urldefense.com/v3/__https:/www.ibm.com/docs/en/zos/3.1.0?topic=functions-stream__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!Kauxn5S-ay_2JRp7YfCb2SOcauIaDcMrtk51doF2uX7y7hmkmaSilgkUPRA9iWBQ4Sdltc8B1xyOucVC86eUObjoDsf51NlrxvhzQvn1$>>? Or does Conway's Law (IBM's guiding principle) generally prevail? -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
