You may not want to have to install another tool.
However, I found that "mawk" does correctly parse the RS parameter.
So if you were to install mawk on the system you might be able to use that instead of awk.
http://www.perzl.org/aix/index.php?n=Main.Mawk
You may already have it. You can find out by trying to use it, or by using "which mawk" in the PASE shell.
Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Fuchs, James M
Sent: Wednesday, July 20, 2016 11:58 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Awk script running in QShell
Just ran the scripts again within the -sh (QP2TERM) and got the exact same results as when running within the QSH
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.