If you need to detect other PASE shells vs QSH, then trying to run
/QSYS.LIB/QSHELL.LIB/UNAME.PGM is one way, though I never particularly
cared for it (it was and still is a hack).
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.