Purpose
Retrieves a column definition for the DECIMAL4_DT type to be used in conjunction with the tdr.SetOutputColDef function.
Syntax
tdr.Decimal4(totaldigit, fracdigit)
- totaldigit
- Parameter type: integer
The total number of digits in the decimal value.
- fracdigit
- Parameter type: integer
The number of fractional digits in the decimal value.
Return Value
An R list representing the column definition for an instance of the DECIMAL4_DT data type with the given attributes.
Example: Retrieve a Column Definition For the DECIMAL4_DT Type
coldef <- list(col= tdr.Decimal4(9,6)); tdr.SetOutputColDef(stream, coldef);