I would like to write a program that behaves like REXX external function SYSDSN.
In order to call SYSDSN from assembler we need to create a TSO environment. Inefficient in my opinion.
Might be inefficient, but how many times will this be executed for a given run? The inefficiency may not be enough to matter (or even be detectable. . .
Which data items do you want to retrieve? There may be another way to get what you want.
I found a way of doing this by allocating PDS and then reading the directory (1st 256B).
To bypass allocating I would need to locate the PDS via mcat, ucat and vtoc.
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.