Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


clearing or flusing DIR_CACHE in DB2

clearing or flusing DIR_CACHE in DB2

clearing or flusing DIR_CACHE in DB2

We are running DB2 Connect Version v8.1.7.445

DB2 Connect is our passthru for the Distributed world to be able to talk to the mainframe databases.

We make infrequent changes to what Mainframe Databases are cataloged in DB2 Connect but when we do, we need the changes to be immediate.

What I have found is that we have DIR_CACHE=YES in our dbm config
so when I make catalog entry changes in the DB2 Configuration assistant, they do not take effect until I restart the DB2 Service. Since this is a Production box, I am looking for a command that will flush the DIR_Cache without having to cycle the DB2 Service.!!!    Can anyone help? .

RE: clearing or flusing DIR_CACHE in DB2

All I found on this link was this:

"When Freed:
When an the application process terminates, the application directory cache is freed
When a database manager instance is stopped (db2stop), the server directory cache is freed. "

so i guess what that means is evertime you catalog something new in DB2 Connect, you NEED to stop and start the Database Manager Instance on DB2 Connect.   Not what I wanted to hear :)

RE: clearing or flusing DIR_CACHE in DB2

What we have done is not added something new but changed some of the existing entries moved a couple of nodes to different systems and databases to different nodes..     I would have thought that with these types of changes that I would either have to flush DIR_Cache or Stop\Start DB2?  

RE: clearing or flusing DIR_CACHE in DB2

I missed that second link  :)

That helps alot!!  Thank you!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close