I have a program that finds the dsn that load modules are in.
there is a version for CICS and one  for TSO. I will send you the code but it 
is kind of hard to follow.

you start by locating the DEB queues, get the DCB and DDN from the DEB queue, 
issue a BLDL on the DCB to see if the load module is there.
then  you read the JFCB  for the DDN and extract the DSN.

jerry,
Send me your email address and I will send you the code.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Support, DUNNIT SYSTEMS LTD.
Sent: Wednesday, January 27, 2016 7:17 AM
To: [email protected]
Subject: Need to find the DSN from where load module was loaded

I tried searching archives. for this. Environment might be batch or ISPF, if it 
makes a difference. Need to know control block hop sequence and what MACRO 
calls are needed.

Thanks,
Jerry

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

________________________________

This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments. Please notify the sender immediately by replying to this e-mail 
and delete the e-mail from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to