You might wish try executing the "catsearch" shell command from Rexx, which is part of the Co:Z Toolkit. This uses IGGCSI00, along with other services to obtain DSCB information.
https://coztoolkit.com/docs/zos-utilities/dsp-ref_catsearch.html > catsearch -l user.coz.** Volume Referred Ext Tracks Used Recfm Lrecl BlkSz Dsorg Dsname WORK81 2008/09/24 1 30 ? U 0 6144 PO-E USER.COZ.LOADLIB WORK81 2008/09/24 1 15 4 FB 80 27920 PO USER.COZ.SAMPJCL WORK84 2008/09/11 1 1 1 U 0 6144 PS USER.COZ.TEST.SEQ WORK81 2008/09/24 1 15 4 FB 80 27920 PO USER.COZ.TESTJCL Co:Z is free to use under the terms of our Community License. Enterprise License and Support Agreements also available. See: http://coztoolkit.com/support.html Kirk Wolf Dovetailed Technologies, LLC Note: Our website and domain name have changed from dovetail.com to coztoolkit.com On Thu, Aug 25, 2022, at 5:02 AM, Michael Babcock wrote: > Off the top of my head, you might also look at the catalog search > interface. Examples in SYS1.SAMPLIB I believe. > > On Wed, Aug 24, 2022 at 10:47 PM Farley, Peter x23353 < > 0000031df298a9da-dmarc-requ...@listserv.ua.edu> wrote: > > > Posted earlier today on MVS-OE but got no responses there. > > > > I know this has probably been discussed previously but I can't seem to get > > the Marist MVS-OE archive search to work for me. > > > > Is there any way to use the LISTDSI TSO external function from "address > > tso" in a Rexx program run under the Unix shell? > > > > I can only get it to return RC = -3, "routine not found". Sample code > > below. > > > > RTFM seems to indicate that "address tso" in a REXX program run under the > > Unix shell will run a TSO TMP in a separate address space, which is OK, I > > can capture the output from that as needed, but I am not getting any > > execution of LISTDSI at all. > > > > Peter > > > > Sample code to get LISTDSI information on 'profilename.EXEC': > > > > /* Rexx */ > > Address tso > > Myrc = LISTDSI('EXEC') > > Say 'RC='Myrc',reason='SYSREASON > > > > > > 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 > > > -- > Michael Babcock > OneMain Financial > z/OS Systems Programmer, Lead > > ---------------------------------------------------------------------- > 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