Here's my start position:
SELECT SPACE, FORMAT, RBA_FORMAT
FROM SYSIBM.SYSTABLEPART TP
WHERE 1 = 1
AND TP.DBNAME = 'ROYTESTD'
AND TP.TSNAME = 'ROYTESTS'
;
---------+---------+---------+--------
SPACE FORMAT RBA_FORMAT
---------+---------+---------+--------
-1
DSNE610I NUMBER OF ROWS DISPLAYED IS 1
After one INSERT:
SELECT SPACE, FORMAT, RBA_FORMAT
FROM SYSIBM.SYSTABLEPART TP
WHERE 1 = 1
AND TP.DBNAME = 'ROYTESTD'
AND TP.TSNAME = 'ROYTESTS'
;
---------+---------+---------+--------
SPACE FORMAT RBA_FORMAT
---------+---------+---------+--------
0 E
DSNE610I NUMBER OF ROWS DISPLAYED IS 1
FORMAT is still Blank. So a quick REORG:
SELECT SPACE, FORMAT, RBA_FORMAT
FROM SYSIBM.SYSTABLEPART TP
WHERE 1 = 1
AND TP.DBNAME = 'ROYTESTD'
AND TP.TSNAME = 'ROYTESTS'
;
---------+---------+---------+--------
SPACE FORMAT RBA_FORMAT
---------+---------+---------+--------
720 R E
DSNE610I NUMBER OF ROWS DISPLAYED IS 1
Tra la! So the first insert, also for super super old Db2 V8 created DEFINE NO spaces, does indeed externalize to "E" for extended 10 Byte RBAs and, as others have commented, the format is still Basic but a REORG sorts that one out to RRF as well!
Roy Boxwell
SOFTWARE ENGINEERING GmbH and SEGUS Inc.
-Product Development-
Vagedesstrasse 19
40479 Dusseldorf/Germany
Tel. +49 (0)211 96149-675
Fax +49 (0)211 96149-32
Email:
R.Boxwell@seg.deWeb
http://www.seg.deLink zur Datenschutzerklärung
Software Engineering GmbH
Amtsgericht Düsseldorf, HRB 37894
Geschäftsführung: Gerhard Schubert, Ulf Heinrich
Original Message:
Sent: 11/4/2022 10:30:00 AM
From: Craig Mullins
Subject: 10 Byte RBA Conversion and DEFINE NO
I have a question that I am finding it difficult to answer via the documentation.
Say I have several tablespaces that were built with DEFINE NO many years ago. They are needed for the application to work but data is never put into those tables. This means they are defined as RBA_FORMAT U in the catalog. Now, on Db2 12, say for whatever reason data actually gets put into that table, requiring it to define the underlying data sets. My expectation is that Db2 will define the pages with the 10-byte RBA in the header, but I don't see that explicitly documented anywhere. Can anybody confirm that my expectation is what will actually happen?
Thanks,
Craig S. Mullins
Mullins Consulting, Inc.
http://www.mullinsconsulting.com
------------------------------
CraigMullinsMullins Consulting, Inc.
------------------------------