Editor's Intro: Steve Myers brings us a very useful TSO function -- the ability to retrieve a dataset name (or names, if a concatenation) allocated to a known DD name from within a TSO session. This could be very useful in situations where you needed to know the full dataset name with an absolute generation number of a GDG entry allocated to your TSO session or in other, similar situations.
Plus, Steve has provided two different versions of the same function. One written as a TSO CLIST. The other providing the same functionality but written as a High-Level Assembler TSO Command.
Steve has packaged the Assembler source code as a formal SMP/E installation job stream. If you are familiar with SMP/E and want to use the entire installation package, go right ahead. If you're not in a position to do this, it is a trivial exercise to copy-and-paste the Assembler source code, upload and then assemble it as a stand-alone program.
Even though bleeding-edge, new stuff is always a kick to learn, going a little retro every so often can be just as fun. Thanks to Steve for this fine and useful contribution to the world of TSO/E software.
QUERYDD
By Steve Myers
The QUERYDD command displays information about the data sets allocated to a specified DD name. Two forms of the QUERYDD function are provided. One is implemented as a TSO CLIST. The other is implemented as a TSO command processor written in Assembler. There are some differences. The command processor accepts multiple DD names, where
...