SAP ABAP Data Element DB2RECLENS (Maximum length (in bytes) of any record in the table)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB-DB2 (Application Component) DB2 for z/OS
     STU2 (Package) CCMS for DB2 for OS/390
Basic Data
Data Element DB2RECLENS
Short Description Maximum length (in bytes) of any record in the table  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type DB2SINT    
Data Type INT2   2-byte integer, only for length field before LCHR or LRAW 
Length 5    
Decimal Places 0    
Output Length 5    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Rec.length 
Medium 15 Record length 
Long 21 Maximum record length 
Heading 10 Rec.Length 
Documentation

Definition

Length is 8+N+L, where:

  • The number 8 accounts for the header (6 bytes) and the id map entry (2 bytes).
  • N is 10 if the table has an edit procedure, or 0 otherwise.
  • L is the sum of the maximum column lengths. In determining a column's maximum length, add a byte for the null indicator if the column allows nulls. Add two bytes for its length indicator if the column has a varying length data type (for example VARCHAR).

The value is 0 if the object is a view or an alias.

History
Last changed by/on SAP  20070813 
SAP Release Created in 700