If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Connect changing drivers and physical log file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-12-06, 09:18
anthinino anthinino is offline
Registered User
 
Join Date: Apr 2006
Posts: 6
DB2 Connect changing drivers and physical log file

Database product name : DB2
Database product version : DSN07011
JDBC driver name : IBM DB2 JDBC Universal Driver Architecture
JDBC driver version : 2.3.63
JDBC driver type : 4

How can you change and check the physical log size setting for DB2?
How would you change the driver from type 4 to type 2 when using DB2 Connect?
Reply With Quote
  #2 (permalink)  
Old 04-17-06, 07:23
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
Answer to Qsn1> db2 "GET DB CFG" | grep 'LOGFILSZ'

Answer to Qsn2> In the WAS console in datasource tab where you specify the DATABASE name, there you will find CUSTOM properties, where I think you should find the option to specify the type2/type4 driver.
Reply With Quote
  #3 (permalink)  
Old 04-18-06, 07:38
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
For Q1, IIRC, you will have to get the information from BSDS to know the name of the log files ... there is a standalone utility (DSNTIUJ, I think .. I may be wrong) to print the BSDS information.

The size again, you'll have to get using ZOS facilities or from DB2ZPARMs. I don't think there is a SQL Interface to get this information, yet!

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #4 (permalink)  
Old 04-18-06, 07:39
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
On ZOS, leave the log file settings to your SYSADM... If you have concerns, raise it with him/her ...

It is more complex than the LUW 'update db cfg ... '

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On