Not intending to continue this thread, but awk is a favorite tool of mine. You certainly can run z/OS awk in a fairly simple batch JCL, though I have not tried it under TSO or batch TSO.
I far prefer the GNU awk (gawk) on my personal machines (Win10 64-bit), but z/OS awk is (mostly) POSIX awk, so most of the parts you want are there. Significantly lacking from z/OS awk are the extra time and date functions provide by gawk, and a few other niceties, but by and large it "just works". For Windows gawk binaries (and a lot of other useful *ix tools) I find this site is the best: https://sourceforge.net/projects/ezwinports/files/ Peter -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Bob Bridges Sent: Wednesday, June 29, 2022 7:44 PM To: [email protected] Subject: Re: REXX outside TSO I've heard the word "awk", but never been exposed to it. I had the impression, though, that I've heard of it in the context of Unix; am I mistaken? Remember, the topic of the moment was whether there's any use for REXX ~outside~ TSO. This was on a Windows system; I'm guessing awk wouldn't be one of the available tools (even if I knew anything about it, I mean). --- 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
