TSO/E Rexx and JCL to get DSN from DD Name
Posted: Tue Jan 26, 2016 10:35 pm
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?