If you've got a C compiler you can build "gawk" yourself. It's already been ported to z/OS and I can see there are z/OS specific commits as recently as a few months ago.
https://github.com/redox-os/gawk

On 14/05/2019 6:40 am, Farley, Peter x23353 wrote:
Never mind, I found the documentation on "exit" and "next" but not "nextfile".

Apologies for the wasted bandwidth.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Farley, Peter x23353
Sent: Monday, May 13, 2019 6:37 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Does z/OS "awk" support "nextfile" or "exit" action statements?

Cross posted to IBM-MAIN and MVS-OE lists.

I can see no documentation in the z/OS Unix Command Reference whether "nextfile" or 
"exit" are supported as action statements in z/OS "awk" scripts.

Can anyone point me to any other documentation that tells me whether these 
actions are supported or not?

Peter
--

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
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to