LISTDSI sets many variables like sysdsname but I need to extract the member name of the PDS. Anyone might know an ISPEXEC service that might do that or even how to get the JFCB(file control block) via the REXX storage command ?
I think there's a severe disconnect here if the title of this thread is accurate. It has always been my understanding that SYSTSIN is valid for instream data only. A PDS containing REXX code should be accessed via SYSEXEC or SYSPROC, not SYSTSIN.
You misunderstood my question or I was not clear enough ... The REXX code is accessed via the SYSEXEC and reads a member of the PDS allocated to SYSTSIN using EXECIO * DISKR systsin (STEM recin. FINIS. Reading is easy but finding the member name is not ! As I say in the original posting LISTDSI provide a number of variable but I have found nothing that returns the member name of a PDS.
You want to use listalc tso command to list the allocated datasets along with outtrap. Then go through the outtrap buffer looking for the SYSTSIN DD allocation and then parse out the member name. Just try the TSO LISTALC command with it's various parameters to get the simplest output with the data you want.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.