DB2REOTSP SAP (REORG TABLESPACE Parameters) Structure details

Dictionary Type: Structure
Description: REORG TABLESPACE Parameters




ABAP Code to SELECT data from DB2REOTSP
Related tables to DB2REOTSP
Access table DB2REOTSP




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
TSNAMEName of the tablespace that is to be reorganized DB2RTSTSCHAR8DB2TSNAME
DBNAMEName of the database to which the tablespace belongs DB2RTSDBCHAR8DB2DBNAME
PARTNONumber of the partition to be reorganized DB2RTSPARTINT25DB2PARTNO
LOGGINGLOG option of the REORG TABLESPACE utility DB2RTSLOGCHAR3DB2YESNO
SORTDATASORTDATA option of the REORG TABLESPACE utility DB2RTSSORTCHAR1DB2YNFLAG
NOSYSRECNOSYSREC option of the REORG TABLESPACE utility DB2RTSNSYSCHAR1DB2YNFLAG
SORTKEYSSORTKEYS option of the REORG TABLESPACE utility DB2RTSSKEYCHAR1DB2YNFLAG
SHRLEVELSHRLEVEL parameter of the REORG utility DB2RTSSHRCHAR10DB2SHRLVL
DEADLINEDEADLINE parameter of the REORG utility DB2RTSDEADCHAR26DB2TMSTMP
MAPTABLEName of the mapping table DB2RTSMAPCHAR18DB2TBNAME
MAPCREATORCreator of the mapping table DB2RTSMAPCCHAR8DB2CREATOR
MAXROMAXRO parameter of the REORG utility DB2RTSMROCHAR10CHAR10
LONGLOGLONGLOG parameter of the REORG utility DB2RTSLLOGCHAR8CHAR8
DELAYDELAY parameter of the REORG utility DB2RTSDLAYCHAR10CHAR10
UNLOADUNLOAD parameter of the REORG utility DB2RTSUNLDCHAR8CHAR8
KEEPDICTKEEPDICTIONARY option of the REORG TABLESPACE utility DB2RTSKDICCHAR1DB2YNFLAG
COPYDSN1Dataset allocated to the SYSCOPY DDNAME DB2CP1DSNCHAR54DB2DDN
COPYDEVT1Device on which the SYSCOPY dataset resides DB2CP1DEVTCHAR8DB2DEVT
COPYSPACE1Primary space allocation for the SYSCOPY dataset (cyl.) DB2CP1SPCINT25DB2DDPQTYC
COPYDSN2Dataset allocated to the SYSCOPY2 DDNAME DB2CP2DSNCHAR54DB2DDN
COPYDEVT2Device on which the SYSCOPY2 dataset resides DB2CP2DEVTCHAR8DB2DEVT
COPYSPACE2Primary space allocation for the SYSCOPY2 dataset (cyl.) DB2CP2SPCINT25DB2DDPQTYC
RCPYDSN1Dataset allocated to the SYSRCPY1 DDNAME DB2RC1DSNCHAR54DB2DDN
RCPYDEVT1Device on which the SYSRCPY1 dataset resides DB2RC1DEVTCHAR8DB2DEVT
RCPYSPACE1Primary space allocation for the SYSRCPY1 dataset (cyl.) DB2RC1SPCINT25DB2DDPQTYC
RCPYDSN2Dataset allocated to the SYSRCPY2 DDNAME DB2RC2DSNCHAR54DB2DDN
RCPYDEVT2Device on which the SYSRCPY2 dataset resides DB2RC2DEVTCHAR8DB2DEVT
RCPYSPACE2Primary space allocation for the SYSRCPY2 dataset (cyl.) DB2RC2SPCINT25DB2DDPQTYC
RECDSNDataset allocated to the SYSREC DDNAME DB2RECDSNCHAR54DB2DDN
RECDEVTDevice on which the SYSREC dataset resides DB2RECDEVTCHAR8DB2DEVT
RECSPACEPrimary space allocation for the SYSREC dataset (cylinders) DB2RECSPCINT25DB2DDPQTYC
WORKDSN1Dataset allocated to the SYSUT1 DDNAME DB2WK1DSNCHAR54DB2DDN
WORKDEVT1Device on which the SYSUT1 dataset resides DB2WK1DEVTCHAR8DB2DEVT
WORKSPACE1Primary space allocation for the SYSUT1 dataset (cyl.) DB2WK1SPCINT25DB2DDPQTYC
WORKDSN2Dataset allocated to the SORTOUT DDNAME DB2WK2DSNCHAR54DB2DDN
WORKDEVT2Device on which the SORTOUT dataset resides DB2WK2DEVTCHAR8DB2DEVT
WORKSPACE2Primary space allocation for the SORTOUT dataset (cyl.) DB2WK2SPCINT25DB2DDPQTYC
SORTDEVTDevice type for temporary datasets allocated by DFSORT DB2SRTDEVTCHAR8DB2DEVT
SORTNUMNumber of temporary datasets allocated by DFSORT DB2SRTNUMINT410
PREFORMATPREFORMAT option of the REORG utility DB2RTSPREFCHAR1DB2YNFLAG
RESTARTWhether & at which point a current utility job is restarted DB2RESTARTCHAR8DB2RESTART

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!