View previous topic :: View next topic |
Author |
Message |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Tue Apr 26, 2011 7:29 pm Post subject: how to know load module pds name where stored procedures sto |
|
|
Hi All,
How can I know the PDS load module name where stored procedures are resided. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Wed Apr 27, 2011 8:24 am Post subject: |
|
|
Kolusu,
I did try to run your query but I do not get any PDS name , am I missing anything here.I did check for the column EXTERNAL_NAME but could not make out.Can you help me where I am wrong in my understanding.
Code: |
EXTERNAL_NAME
VARCHAR(762) NOT NULL
The path/module/function that DB2 should load to execute the routine. The column is blank if ROUTINETYPE = 'F' and ORIGIN is not 'E'.
|
|
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Apr 27, 2011 10:31 am Post subject: |
|
|
yadav2005,
The question is what did you get from the external_name ? if the catalog table is not updated, compile an existing SP and look at the JESMSGLG and find out the PDS name
Kolusu |
|
Back to top |
|
 |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Wed Apr 27, 2011 9:01 pm Post subject: |
|
|
Thanks Kolusu your solution helped me and I was able to get the required information. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Apr 28, 2011 10:35 am Post subject: |
|
|
yadav2005,
Can you share as to how you got the required information?
Kolusu |
|
Back to top |
|
 |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Fri Apr 29, 2011 1:56 pm Post subject: |
|
|
Kolusu,
Can you please help me know with the name of the dataset which I can use.My understanding is that ,there is a dataset that comes with DB2 when it is installed that contains sample programs and sample compile JCL. I would like to know the sample JCL in that dataset to compile user defined functions. |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Fri Apr 29, 2011 3:59 pm Post subject: |
|
|
usually it is some form of DSN910.SDSNSAMP - where the 910 refers to the db2 version that you are running.
obviously, these can/are/could be renamed by your dba when installed.
ask your dba's. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
|
|