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
 

 

ALTER BUFFERPOOL - Error while changing Pagesize.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Mon Oct 22, 2012 4:36 pm    Post subject: ALTER BUFFERPOOL - Error while changing Pagesize.
Reply with quote

Hi,

I was trying to alter the bufferpool from BP0 to BP32K2. I got the below error
Code:

***INPUT STATEMENT:                                                             
   ALTER TABLESPACE DBNAME.TSNAME BUFFERPOOL BP32K2 ;                       
SQLERROR ON   ALTER     COMMAND, EXECUTE   FUNCTION                             
 RESULT OF SQL STATEMENT:                                                       
 DSNT408I SQLCODE = -671, ERROR:  THE BUFFERPOOL ATTRIBUTE OF THE TABLE SPACE CANNOT BE ALTERED AS SPECIFIED BECAUSE IT
          WOULD CHANGE THE PAGE SIZE OF THE TABLE SPACE                         
 DSNT418I SQLSTATE   = 53040 SQLSTATE RETURN CODE                               
 DSNT415I SQLERRP    = DSNXIATS SQL PROCEDURE DETECTING ERROR                   
 DSNT416I SQLERRD    = 120  0  0  -1  0  0 SQL DIAGNOSTIC INFORMATION           
 DSNT416I SQLERRD    = X'00000078'  X'00000000'  X'00000000'  X'FFFFFFFF'  X'000
          INFORMATION                                                           


Looks like we cannot change the bufferpool to a different page size. Is there any alternative way to do this apart from dropping and re-creating it.

My problem is we created Tables which had LOB columns, so LOB tablespaces have been created in default BP0 bufferpool. We want them to move to 32K bufferpool.

Please let me know how this can be done?
Back to top
View user's profile Send private message

sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Mon Oct 22, 2012 5:24 pm    Post subject:
Reply with quote

Not possible, i think without dropping & re-creating the tablespace. Since the data needs to put into bigger page.

regards,
sushanth
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Mon Oct 22, 2012 5:59 pm    Post subject:
Reply with quote

Yes... But ideally Stop database --> ALTER --> START Database --> REORG should work.

I mean IBM should give this feature icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Mon Oct 22, 2012 6:20 pm    Post subject: Reply to: ALTER BUFFERPOOL - Error while changing Pagesize.
Reply with quote

Quote:
I mean IBM should give this feature


meditate on the relation between page size and controlinterval size
and how for the defaults the two values coincide
( and buffer pools naturally )

Quote:
The VARY DS CONTROL INTERVAL parameter on installation panel DSNTIP7 allows you to control whether DB2-managed data sets have variable VSAM control intervals:
A value of YES indicates that a DB2-managed data set is created with a VSAM control interval that corresponds to the size of the buffer pool that is used for the table space. This is the default value.
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Tue Oct 23, 2012 11:00 am    Post subject:
Reply with quote

Thanks for the explanation.... Really helpful
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


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