MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dynamic ISPLLIB (DB2 coexistence)

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
matchum
Beginner


Joined: 10 May 2007
Posts: 2
Topics: 1

PostPosted: Thu May 10, 2007 7:18 am    Post subject: Dynamic ISPLLIB (DB2 coexistence) Reply with quote

Issue:
Z/OSe with ISPF and REXX needs to access a mix of DB2 versions. The DB2 v7 libraries are pre-allocated to ISPLLIB.

Question:
I can dynamically 'augment' ISPLLIB but cannot re-define it within an ISPF session but how can I DYNAMICALLY replace the ISPLLIB before invoking the DB2 v8 version of DSNREXX Question
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu May 10, 2007 7:53 am    Post subject: Reply with quote

matchum,

Check this link

http://www-1.ibm.com/support/docview.wss?rs=64&context=SSEPEK&dc=DB520&uid=swg21214800&loc=en_US&cs=UTF-8&lang=en&rss=ct64db2

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
matchum
Beginner


Joined: 10 May 2007
Posts: 2
Topics: 1

PostPosted: Thu May 10, 2007 8:39 am    Post subject: Reply with quote

Kolusu,

Just the job - thanks for that handy URL Laughing
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu May 10, 2007 10:00 am    Post subject: Reply with quote

I've never used DB2 (so take this for what it is worth), but I don't think that URL has the correct answer, or at least it is incomplete.
You should be able to do the LIBDEF allocation and then invoke a separate command to do the DSN calls. You must start the CLIST (or Rexx) using the SELECT CMD(%clistname) service and pass the allocation to that. It has been too many years since I used LIBDEF with this problem, but I think there is a keyword on the SELECT service (something like PASSLIB??) that will do this.

The reason for this is that you need to establish a tasklib for Rexx and DB2 to find the modules, and select cmd() will do that.

Or, I could be completely wrong (something that only happens about 30 times a day Shocked )
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group