DB2CCOUT SAP (Output List of Table-/Indexspace of DB2 SP DSNACCOR) Structure details
Description: Output List of Table-/Indexspace of DB2 SP DSNACCOR
Structure field list including key, data, relationships and ABAP select examples
DB2CCOUT is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Output List of Table-/Indexspace of DB2 SP DSNACCOR" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_DB2CCOUT TYPE DB2CCOUT.
The DB2CCOUT table consists of various fields, each holding specific information or linking keys about Output List of Table-/Indexspace of DB2 SP DSNACCOR data available in SAP. These include TSNAME (Name of the tablespace), PARTI (Data set number or partition number), OBJTYPE (DB2 object type: TS for tablespace, IX for indexspace), OBJSTATUS (DB2 object status: NULL, restricted states or orphaned).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP DB2CCOUT structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
DBNAME | Database name | DB2DBNAME | CHAR | 8 | D2DBNAME | ||||
TSNAME | Name of the tablespace | DB2TSNAME | CHAR | 8 | CHAR8 | ||||
PARTI | Data set number or partition number | DB2CCPART | INT2 | 5 | DB2PART | ||||
OBJTYPE | DB2 object type: TS for tablespace, IX for indexspace | DB2CCOBJT | CHAR | 2 | CHAR2 | ||||
OBJSTATUS | DB2 object status: NULL, restricted states or orphaned | DB2CCOBJS | CHAR | 36 | CHAR36 | ||||
COPYREC | COPY recommendation: FUL(TS), INC(TS), YES(IX) or NO(Both) | DB2CCCPYR | CHAR | 3 | CHAR3 | ||||
RUNSTREC | RUNSTATS Recommendation: YES or NO | DB2CCSREC | CHAR | 3 | CHAR3 | ||||
EXTENTS | Extentlimit was exceeded: YES or NO | DB2CCEXTL | CHAR | 3 | CHAR3 | ||||
REORGREC | REORG Recommendation: YES or NO | DB2CCOREC | CHAR | 3 | CHAR3 | ||||
EXCTABLE | Defined in exceptiontable: YES, NO, QUERY or NULL(no exctab) | DB2CCEXCL | CHAR | 40 | CHAR40 | ||||
ASSOCTS | Associated tablespace for indexspace | DB2CCASSTS | CHAR | 8 | DB2TSNAME | ||||
COPYTIME | Timestamp of last full image COPY | DB2CCCTIME | CHAR | 26 | DB2TMSTMP | ||||
LOADREPLTI | Timestamp of last LOAD REPLACE | DB2CCLTIME | CHAR | 26 | DB2TMSTMP | ||||
REBUILDTIM | Timestamp of last REBUILD INDEX | DB2CCRTIME | CHAR | 26 | DB2TMSTMP | ||||
FCUPDPGS | Full/Inc. Copy: Updated pages in percent of preformatted pag | DB2CCUPDPG | INT4 | 10 | |||||
FCCHGPCT | Full/Inc. Copy: Changed rows in percent | DB2CCCCHGS | INT4 | 10 | |||||
FCDAYSCOPY | Full Copy: Number of days since last COPY | DB2CCCDAYS | INT4 | 10 | |||||
FCINDEXSIZ | Full Copy: Minimum size of index in pages (NACTIVE) | DB2CCISIZE | INT4 | 10 | |||||
REORGTIME | Timestamp of last REORG | DB2CCOTIME | CHAR | 26 | DB2TMSTMP | ||||
RTINSDELUP | REORG TS/IX: Changed rows in percent | DB2CCRCHGS | INT4 | 10 | |||||
RTUNCLUST | REORG TS: Unclustered inserts in percent | DB2CCUNCLU | INT4 | 10 | |||||
RTLOBPCT | REORG TS: Disorganized LOBs in percent | DB2CCLOB | INT4 | 10 | |||||
RTMASSDEL | REORG:Number of mass del. (seg./LOB) / tabledrops (non-seg.) | DB2CCRMASS | INT4 | 10 | |||||
RTINDREF | REORG TS: Indirect references (overflow records) in percent | DB2CCIND | INT4 | 10 | |||||
RIINSDEL | REORG TS/IX: Changed rows in percent | DB2CCRCHGS | INT4 | 10 | |||||
RIAPPINS | REORG Index: Appended rows (with greater key) in percent | DB2CCAPP | INT4 | 10 | |||||
RIPSEUDODE | REORG Index: Pseudo deletes in percent | DB2CCPSEUD | INT4 | 10 | |||||
RIMASSDEL | REORG:Number of mass del. (seg./LOB) / tabledrops (non-seg.) | DB2CCRMASS | INT4 | 10 | |||||
RILEAFLIM | REORG Indx: Pages phys. far away (INDEXPART.LEAFFAR) percent | DB2CCLEAF | INT4 | 10 | |||||
RINUMLEVEL | REORG Index: Change to number of index tree levels absolute | DB2CCLEVEL | INT4 | 10 | |||||
RUNSTATSTI | Timestamp of last RUNSTATS | DB2CCSTIME | CHAR | 26 | DB2TMSTMP | ||||
STINSDELP | RUNSTATS TS/IX: Changed rows in percent | DB2CCSCHGS | INT4 | 10 | |||||
STINSDELA | RUN.:Changed rows (insert, delete or update) absolute number | DB2CCCHGA | FLTP | 16(16) | FLTP | ||||
STMASSDEL | RUNST:Number of mass del. (seg./LOB) / tabledrops (non-seg.) | DB2CCSMASS | INT4 | 10 | |||||
SIINSDELP | RUNSTATS TS/IX: Changed rows in percent | DB2CCSCHGS | INT4 | 10 | |||||
SIINSDELA | RUN.:Changed rows (insert, delete or update) absolute number | DB2CCCHGA | FLTP | 16(16) | FLTP | ||||
SIMASSDEL | RUNST:Number of mass del. (seg./LOB) / tabledrops (non-seg.) | DB2CCSMASS | INT4 | 10 | |||||
EXTENT_NO | Number of physical extents in TS, IS or partition | DB2CCEXTNO | INT2 | 5 | INT2 |
Key field | Non-key field |
How do I retrieve data from SAP structure DB2CCOUT using ABAP code?
As DB2CCOUT is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on DB2CCOUT as there is no data to select.How to access SAP table DB2CCOUT
Within an ECC or HANA version of SAP you can also view further information about DB2CCOUT and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects