DB2CPYTSP SAP (DB2/390: COPY parameters) Structure details

Dictionary Type: Structure
Description: DB2/390: COPY parameters




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




Structure field list including key, data, relationships and ABAP select examples

DB2CPYTSP 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 "DB2/390: COPY 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_DB2CPYTSP TYPE DB2CPYTSP.

The DB2CPYTSP table consists of various fields, each holding specific information or linking keys about DB2/390: COPY parameters data available in SAP. These include DBNAME (Name of the database the tablespace belongs to), DSNUM (Partition or data set that is to be copied), FULLCOPY (Specifies if either a full or an incremental copy is taken), CHGLIMIT (CHANGELIMIT option of COPY 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 DB2CPYTSP 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
TSNAMETable space that is to be copied DB2CPYTSCHAR8DB2TSNAME
DBNAMEName of the database the tablespace belongs to DB2CPYDBCHAR8DB2DBNAME
DSNUMPartition or data set that is to be copied DB2CPYDSCHAR3CHAR3
FULLCOPYSpecifies if either a full or an incremental copy is taken DB2CPYFULLCHAR3DB2YESNO
CHGLIMITCHANGELIMIT option of COPY utility DB2CPYCHGCHAR3DB2YESNO
CHGLIMIT1First value in the CHANGELIMIT range DB2CPYCL1CHAR3DB2PCTC
CHGLIMIT2Second value in the CHANGELIMIT range DB2CPYCL2CHAR3DB2PCTC
REPORTONLYSpecifies that image copy information is only displayed DB2CPYREPOCHAR1DB2YNFLAG
SHRLEVELCOPY share level DB2CPYSHRCHAR10DB2SHRLVL
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
RESTARTWhether & at which point a current utility job is restarted DB2RESTARTCHAR8DB2RESTART
RETCODEReturn code of the utility DB2UTILRCINT410

Key field Non-key field



How do I retrieve data from SAP structure DB2CPYTSP using ABAP code?

As DB2CPYTSP 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 DB2CPYTSP as there is no data to select.

How to access SAP table DB2CPYTSP

Within an ECC or HANA version of SAP you can also view further information about DB2CPYTSP 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!