Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to add multiple load libraies in CLIST ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: How to add multiple load libraies in CLIST ?
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: 8593
Location: Back in jolly old England

PostPosted: Fri May 11, 2007 12:48 pm    Post subject:
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    Post subject:
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: 686
Location: Earth

PostPosted: Fri May 11, 2007 2:20 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri May 11, 2007 3:09 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri May 11, 2007 3:27 pm    Post subject:
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    Post subject:
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: 686
Location: Earth

PostPosted: Wed May 16, 2007 2:39 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data replication from multiple Db2 ta... kishpra DB2 1 Mon Mar 27, 2017 9:58 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us