I have actually used the referenced $STEPLIB technique from a z/OS Unix shell environment as part of one of the previous Zxplore yearly contest challenges (level z/OS 2.4).
STEPLIB=my.pgmlib1:my.pgmlib2:$STEPLIB my-rexx-script “my rexx arguments” I used different lists of libraries as needed for each different Rexx script executed to solve parts of the contest challenge. Can also be used to add necessary DB2 libraries (if not already in $STEPLIB) when a Rexx script uses DB2 functions. Performance was admirable and acceptable but this usage was obviously not a high-volume commercial application, so YMMV. In this day and age, why in the world would you even contemplate using a non-cataloged library? Why even mention such a thing? What possible business case could there be? Peter From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Paul Gilmartin Sent: Wednesday, November 22, 2023 9:41 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: UNIX REXX LINKMVS TASKLIB? How can a UNIX REXX program invoke a program object not in LNKLST? ADDRESS LINKMVS has no TASKLIB option. Is this the best way? <https://www.ibm.com/docs/en/zos/3.1.0?topic=shell-building-steplib-environment-steplib-environment-variable> Restrictions: o Performance? o The library must be catalogued. o Various others described. -- 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