TSO/E Rexx and JCL to get DSN from DD Name
![Post Post](https://www.ibmmainframeforum.com/styles/prosilver/imageset/icon_post_target.gif)
I need to submit a job that executes a REXX script. The Rexx routine needs to determine the DSN of a specified DDNAME allocated by the JCL.
In a TSO/E session this could be done using OUTTRAP and parsing the LISTALC information. But OUTTRAP is a TSO/E function and not available when executing the script with IRXJCL.
Maybe there is an alternative? A simpler way?
In a TSO/E session this could be done using OUTTRAP and parsing the LISTALC information. But OUTTRAP is a TSO/E function and not available when executing the script with IRXJCL.
Maybe there is an alternative? A simpler way?