DB2REOTSP SAP (REORG TABLESPACE Parameters) Structure details
Description: REORG TABLESPACE Parameters
Structure field list including key, data, relationships and ABAP select examples
DB2REOTSP 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 "REORG TABLESPACE Parameters" 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_DB2REOTSP TYPE DB2REOTSP.
The DB2REOTSP table consists of various fields, each holding specific information or linking keys about REORG TABLESPACE Parameters data available in SAP. These include DBNAME (Name of the database to which the tablespace belongs), PARTNO (Number of the partition to be reorganized), LOGGING (LOG option of the REORG TABLESPACE utility), SORTDATA (SORTDATA option of the REORG TABLESPACE utility).. 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: Not classified
SAP DB2REOTSP 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 |
TSNAME | Name of the tablespace that is to be reorganized | DB2RTSTS | CHAR | 8 | DB2TSNAME | ||||
DBNAME | Name of the database to which the tablespace belongs | DB2RTSDB | CHAR | 8 | DB2DBNAME | ||||
PARTNO | Number of the partition to be reorganized | DB2RTSPART | INT2 | 5 | DB2PARTNO | ||||
LOGGING | LOG option of the REORG TABLESPACE utility | DB2RTSLOG | CHAR | 3 | DB2YESNO | ||||
SORTDATA | SORTDATA option of the REORG TABLESPACE utility | DB2RTSSORT | CHAR | 1 | DB2YNFLAG | ||||
NOSYSREC | NOSYSREC option of the REORG TABLESPACE utility | DB2RTSNSYS | CHAR | 1 | DB2YNFLAG | ||||
SORTKEYS | SORTKEYS option of the REORG TABLESPACE utility | DB2RTSSKEY | CHAR | 1 | DB2YNFLAG | ||||
SHRLEVEL | SHRLEVEL parameter of the REORG utility | DB2RTSSHR | CHAR | 10 | DB2SHRLVL | ||||
DEADLINE | DEADLINE parameter of the REORG utility | DB2RTSDEAD | CHAR | 26 | DB2TMSTMP | ||||
MAPTABLE | Name of the mapping table | DB2RTSMAP | CHAR | 18 | DB2TBNAME | ||||
MAPCREATOR | Creator of the mapping table | DB2RTSMAPC | CHAR | 8 | DB2CREATOR | ||||
MAXRO | MAXRO parameter of the REORG utility | DB2RTSMRO | CHAR | 10 | CHAR10 | ||||
LONGLOG | LONGLOG parameter of the REORG utility | DB2RTSLLOG | CHAR | 8 | CHAR8 | ||||
DELAY | DELAY parameter of the REORG utility | DB2RTSDLAY | CHAR | 10 | CHAR10 | ||||
UNLOAD | UNLOAD parameter of the REORG utility | DB2RTSUNLD | CHAR | 8 | CHAR8 | ||||
KEEPDICT | KEEPDICTIONARY option of the REORG TABLESPACE utility | DB2RTSKDIC | CHAR | 1 | DB2YNFLAG | ||||
COPYDSN1 | Dataset allocated to the SYSCOPY DDNAME | DB2CP1DSN | CHAR | 54 | DB2DDN | ||||
COPYDEVT1 | Device on which the SYSCOPY dataset resides | DB2CP1DEVT | CHAR | 8 | DB2DEVT | ||||
COPYSPACE1 | Primary space allocation for the SYSCOPY dataset (cyl.) | DB2CP1SPC | INT2 | 5 | DB2DDPQTYC | ||||
COPYDSN2 | Dataset allocated to the SYSCOPY2 DDNAME | DB2CP2DSN | CHAR | 54 | DB2DDN | ||||
COPYDEVT2 | Device on which the SYSCOPY2 dataset resides | DB2CP2DEVT | CHAR | 8 | DB2DEVT | ||||
COPYSPACE2 | Primary space allocation for the SYSCOPY2 dataset (cyl.) | DB2CP2SPC | INT2 | 5 | DB2DDPQTYC | ||||
RCPYDSN1 | Dataset allocated to the SYSRCPY1 DDNAME | DB2RC1DSN | CHAR | 54 | DB2DDN | ||||
RCPYDEVT1 | Device on which the SYSRCPY1 dataset resides | DB2RC1DEVT | CHAR | 8 | DB2DEVT | ||||
RCPYSPACE1 | Primary space allocation for the SYSRCPY1 dataset (cyl.) | DB2RC1SPC | INT2 | 5 | DB2DDPQTYC | ||||
RCPYDSN2 | Dataset allocated to the SYSRCPY2 DDNAME | DB2RC2DSN | CHAR | 54 | DB2DDN | ||||
RCPYDEVT2 | Device on which the SYSRCPY2 dataset resides | DB2RC2DEVT | CHAR | 8 | DB2DEVT | ||||
RCPYSPACE2 | Primary space allocation for the SYSRCPY2 dataset (cyl.) | DB2RC2SPC | INT2 | 5 | DB2DDPQTYC | ||||
RECDSN | Dataset allocated to the SYSREC DDNAME | DB2RECDSN | CHAR | 54 | DB2DDN | ||||
RECDEVT | Device on which the SYSREC dataset resides | DB2RECDEVT | CHAR | 8 | DB2DEVT | ||||
RECSPACE | Primary space allocation for the SYSREC dataset (cylinders) | DB2RECSPC | INT2 | 5 | DB2DDPQTYC | ||||
WORKDSN1 | Dataset allocated to the SYSUT1 DDNAME | DB2WK1DSN | CHAR | 54 | DB2DDN | ||||
WORKDEVT1 | Device on which the SYSUT1 dataset resides | DB2WK1DEVT | CHAR | 8 | DB2DEVT | ||||
WORKSPACE1 | Primary space allocation for the SYSUT1 dataset (cyl.) | DB2WK1SPC | INT2 | 5 | DB2DDPQTYC | ||||
WORKDSN2 | Dataset allocated to the SORTOUT DDNAME | DB2WK2DSN | CHAR | 54 | DB2DDN | ||||
WORKDEVT2 | Device on which the SORTOUT dataset resides | DB2WK2DEVT | CHAR | 8 | DB2DEVT | ||||
WORKSPACE2 | Primary space allocation for the SORTOUT dataset (cyl.) | DB2WK2SPC | INT2 | 5 | DB2DDPQTYC | ||||
SORTDEVT | Device type for temporary datasets allocated by DFSORT | DB2SRTDEVT | CHAR | 8 | DB2DEVT | ||||
SORTNUM | Number of temporary datasets allocated by DFSORT | DB2SRTNUM | INT4 | 10 | |||||
PREFORMAT | PREFORMAT option of the REORG utility | DB2RTSPREF | CHAR | 1 | DB2YNFLAG | ||||
RESTART | Whether & at which point a current utility job is restarted | DB2RESTART | CHAR | 8 | DB2RESTART |
Key field | Non-key field |
How do I retrieve data from SAP structure DB2REOTSP using ABAP code?
As DB2REOTSP 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 DB2REOTSP as there is no data to select.How to access SAP table DB2REOTSP
Within an ECC or HANA version of SAP you can also view further information about DB2REOTSP 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