View previous topic :: View next topic
|
Author |
Message |
sreenivasrv
New User
Joined: 20 Apr 2007 Posts: 10 Location: Bangalore
|
|
|
|
Hi all...
can someone help me how to add multiple load libraries in Clist?
My clist program calls a PLI module which in turns call a COBOL module where there is a dynamic call to another system module... so i need to specify my module load lib and external module load lib...
Please help me!!! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
If you use LIBDEF as a search argument after hitting the search button above, there will be quite a few threads to help you resolve your problem. |
|
Back to top |
|
|
sreenivasrv
New User
Joined: 20 Apr 2007 Posts: 10 Location: Bangalore
|
|
|
|
Hey Thanks dude...
But i coudn't find any... my problem is
I have a situation like this -
ISPEXEC LIBDEF ISPLLIB DATASET ID('load library A')
ISPEXEC SELECT PGM(moduleA) PARM('/&PARMS')
Now i need to add another load library B to the same module which has one of the sub modules (module B) of module A is present in library B.
Can someone plz help how to add this..
As module B is not present in my region, i have to give the load lib for this module. |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
you need to concatenate your libraries in this case.
Use this command on TSO prompt
alloc dd(ISPLLIB) dsn('linklib1' , 'linklib2', 'linklib3') shr |
|
Back to top |
|
|
sreenivasrv
New User
Joined: 20 Apr 2007 Posts: 10 Location: Bangalore
|
|
|
|
Hey abhijit
i tried with alloc.. but as the load libraries are of changeman (NLB) , when i use alloc it says file in use... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Have you tried this ?
ISPEXEC LIBDEF ISPLLIB DATASET ID('load library A') STACK
ISPEXEC LIBDEF ISPLLIB DATASET ID('load library B') STACK
ISPEXEC LIBDEF ISPLLIB DATASET ID('load library C') STACK
Which should just STACK the new library onto the current list allocated to ISPLLIB, or maybe try to concatenate multiple libs in one LIBDEF
ISPEXEC LIBDEF ISPLLIB DATASET ID('load library A','load library B') STACK
Quote: |
Use this command on TSO prompt |
Now there's something I've not seen in a long long while. The TSO prompt. |
|
Back to top |
|
|
sreenivasrv
New User
Joined: 20 Apr 2007 Posts: 10 Location: Bangalore
|
|
|
|
i tried with both the methods u said..
in both the cases am able to only access the module from libA, when i try to access a module from lib B , i get S806 - module not found error!!! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Dare I ask, but you are specifying the correct load libs ?
After the LIBDEF did you TSO ISRDDN to check the allocations to see if the datasets were in fact included, although they might be under ISP0000 type ddnames. |
|
Back to top |
|
|
sreenivasrv
New User
Joined: 20 Apr 2007 Posts: 10 Location: Bangalore
|
|
|
|
i checked it -
the following is the case
ISPEXEC LIBDEF ISPLLIB DATASET ID('load library A') STACK
ISPEXEC LIBDEF ISPLLIB DATASET ID('load library B') STACK
ISPEXEC SELECT PGM(moduleB) PARM('/&PARMS')
when i gave TSO ISRDDN, i could see only load library A with ddname ISP05148, but couldn't find the load library B in the list
But when i executed the clist, moduleB is being executed, but the called module moduleA is abended with S806 |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
Quote: |
Now there's something I've not seen in a long long while. The TSO prompt. |
I always imagined 'TSO'; equivalent to Command prompt in windows, by TSO prompt I meant option 6 in ISPF or CMDE. Please correct me if I used wrong word .. |
|
Back to top |
|
|
|