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.
You may already have it. You can find out by trying to use it, or by using "which mawk" in the PASE shell.
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
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