From the testing I have done so far, the z/OS Unix Rexx interpreter SAY command only writes in EBCDIC. My suspicion (untested) is that the Rexx script itself is automagically converted to EBCDIC as the interpreter is reading it, so that the interpreter only sees EBCDIC text.
On a “real ASCII” system I would expect ASCII hex output for that example. Peter From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Paul Gilmartin Sent: Monday, April 22, 2024 1:48 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: REXX vs other languages -- EXECIO intuitiveness On Mon, 22 Apr 2024 16:59:21 +0000, Farley, Peter wrote: > >I have recently done some experiments with Rexx scripts stored in the z/OS >Unix file system encoded in ASCII and they will execute without a problem so >long as the starting script file is properly ... > FSVO "properly". What does "say c2x( 'abcd' )" show? Is it the same on a real ASCII system? -- 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN