DB2DSNUP SAP (DB2/390: Parameters Passed to DSNUTILS Stored Procedure) Structure details
Description: DB2/390: Parameters Passed to DSNUTILS Stored Procedure
Structure field list including key, data, relationships and ABAP select examples
DB2DSNUP 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: Parameters Passed to DSNUTILS Stored Procedure" 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_DB2DSNUP TYPE DB2DSNUP.
The DB2DSNUP table consists of various fields, each holding specific information or linking keys about DB2/390: Parameters Passed to DSNUTILS Stored Procedure data available in SAP. These include RESTART (Whether & at which point a current utility job is restarted), UTSTMT (Utility control statement), RETCODE (DSNUTILS: Highest return code for the utility), UTIL_NAME (Utility specification).. 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 DB2DSNUP 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 |
UTILITY_ID | Unique identifier for a utility in DB2 | DB2UTILID | CHAR | 16 | CHAR16 | ||||
RESTART | Whether & at which point a current utility job is restarted | DB2RESTART | CHAR | 8 | DB2RESTART | ||||
UTSTMT | Utility control statement | 0 | |||||||
RETCODE | DSNUTILS: Highest return code for the utility | DB2CCUTILSRC | INT4 | 10 | |||||
UTIL_NAME | Utility specification | DB2UTILNAM | CHAR | 20 | DB2UTILNAM | ||||
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 | ||||
DISCDSN | Dataset allocated to the SYSDISC DDNAME | DB2DISCDSN | CHAR | 54 | DB2DDN | ||||
DISCDEVT | Device on which the SYSDISC dataset resides | DB2DISDEVT | CHAR | 8 | DB2DEVT | ||||
DISCSPACE | Primary space allocation for the SYSDISC dataset (cyl.) | DB2DISCSPC | INT2 | 5 | DB2DDPQTYC | ||||
PNCHDSN | Dataset allocated to the SYSPUNCH DDNAME | DB2PNCHDSN | CHAR | 54 | DB2DDN | ||||
PNCHDEVT | Device on which the SYSREC dataset resides | DB2PNCDEVT | CHAR | 8 | DB2DEVT | ||||
PNCHSPACE | Primary space allocation for the SYSPNCH dataset (cyl.) | DB2PNCHSPC | INT2 | 5 | DB2DDPQTYC | ||||
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 | ||||
MAPDSN | Dataset allocated to the SYSMAP DDNAME | DB2MAPDSN | CHAR | 54 | DB2DDN | ||||
MAPDEVT | Device on which the SYSMAP dataset resides | DB2MAPDEVT | CHAR | 8 | DB2DEVT | ||||
MAPSPACE | Primary space allocation for the SYSMAP dataset (cyl.) | DB2MAPSPC | INT2 | 5 | DB2DDPQTYC | ||||
ERRDSN | Dataset allocated to the SYSERR DDNAME | DB2ERRDSN | CHAR | 54 | DB2DDN | ||||
ERRDEVT | Device on which the SYSERR dataset resides | DB2ERRDEVT | CHAR | 8 | DB2DEVT | ||||
ERRSPACE | Primary space allocation for the SYSERR dataset (Cyl.) | DB2ERRSPC | 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 | ||||
FILTRDSN | Dataset allocated to the FILTER DDNAME | DB2FILDSN | CHAR | 54 | DB2FILDSN | ||||
FILTRDEVT | Device on which the FILTER dataset resides | DB2FILDEVT | CHAR | 8 | DB2FILDEVT | ||||
FILTRSPACE | Primary space allocation for the SYSERR dataset (Cyl.) | DB2FILSPC | INT2 | 5 | DB2FILSPC |
Key field | Non-key field |
How do I retrieve data from SAP structure DB2DSNUP using ABAP code?
As DB2DSNUP 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 DB2DSNUP as there is no data to select.How to access SAP table DB2DSNUP
Within an ECC or HANA version of SAP you can also view further information about DB2DSNUP 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