I have a simple request.
Kontext: PL/1 running on z/OS.
I'm processing files. The files are referenced via DDNAME JCL.
For logging it would be helpful to obtain the real DSN-Name which is accessed through the DDNAME.
To make myself clear, here an example:
//STEP EXEC PGM=PGMXXX,PARM=('...')
//SYSPRINT DD SYSOUT=*
//IXMLMBR DD DISP=SHR,DSN=AG.AW.ACE.CONNECT.TO.DATASRC.XML.MASTER(XMLIN)
I want to log from PGMXXX
"Processing InputFile AG.AW.ACE.CONNECT.TO.DATASRC.XML.MASTER(XMLIN)"
Is there an PL1 interface which gets the DSN-Name for the DDNAME IXMLMBR?
Any answer is welcomed.