This is one thing about using Rexx (or any script language AFAICS) that is awkward to remember.
My Linux lapdog uses #!/bin/rexx as the first line (and external functions must be saved with upper case filenames to be found from Rexx code) In some environments (TSO via ddname SYSEXEC, is it?) the Rexx comment was not required. But Rexx is still my first choice where I have to get the maths exactly right first time, and where I don't want any nasty surprises when an unexpected byte value sneaks in with the the input data. MFC made some great choices when he created Rexx, which mean I'm willing to work with a few quirks that were mainly born out of the time he created it :-) Roops On Mon, 22 Apr 2024, 14:13 Lionel B. Dyck, < [email protected]> wrote: > One more point on this - the very 1st line of the REXX code *must* have /* > REXX */ starting in column 1. While TSO and VM REXX just care that the word > rexx is in a comment on the 1st line - the shell REXX requires it begin in > column 1 with the 1st word being REXX. > > hth > > > Lionel B. Dyck <>< > Github: https://github.com/lbdyck > System Z Enthusiasts Discord: https://discord.gg/sze > > “Worry more about your character than your reputation. Character is what > you are, reputation merely what others think you are.” - - - John Wooden > > -----Original Message----- > From: IBM Mainframe Discussion List <[email protected]> On Behalf > Of Paul Gilmartin > Sent: Sunday, April 21, 2024 8:18 PM > To: [email protected] > Subject: Rexx and DSFS > > Can a Rexx Rexx exec usefully reside in a DSFS? It would need to be > marked as executable. The following doesn't make it clear: > < > https://www.ibm.com/docs/en/zos/3.1.0?topic=system-zos-unix-attributes-versus-data-set-attributes > > > > Is there better information in the DSFS User's Guide? > > -- > 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 > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
