IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to add multiple load libraies in CLIST ?


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sreenivasrv

New User


Joined: 20 Apr 2007
Posts: 10
Location: Bangalore

PostPosted: Fri May 11, 2007 11:27 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri May 11, 2007 12:48 pm
Reply with quote

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
View user's profile Send private message
sreenivasrv

New User


Joined: 20 Apr 2007
Posts: 10
Location: Bangalore

PostPosted: Fri May 11, 2007 1:11 pm
Reply with quote

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
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Fri May 11, 2007 2:20 pm
Reply with quote

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
View user's profile Send private message
sreenivasrv

New User


Joined: 20 Apr 2007
Posts: 10
Location: Bangalore

PostPosted: Fri May 11, 2007 3:02 pm
Reply with quote

Hey abhijit

i tried with alloc.. but as the load libraries are of changeman (NLB) , when i use alloc it says file in use... icon_sad.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri May 11, 2007 3:09 pm
Reply with quote

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
View user's profile Send private message
sreenivasrv

New User


Joined: 20 Apr 2007
Posts: 10
Location: Bangalore

PostPosted: Fri May 11, 2007 3:22 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri May 11, 2007 3:27 pm
Reply with quote

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
View user's profile Send private message
sreenivasrv

New User


Joined: 20 Apr 2007
Posts: 10
Location: Bangalore

PostPosted: Fri May 11, 2007 3:50 pm
Reply with quote

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
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Wed May 16, 2007 2:39 pm
Reply with quote

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 .. icon_wink.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts How to load to DB2 with column level ... DB2 6
Search our Forums:

Back to Top