Purpose
Retrieves a column definition for the DECIMAL1_DT type to be used in conjunction with the tdr.SetOutputColDef function.
Syntax
tdr.Decimal1(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 DECIMAL1_DT data type with the given attributes.
Example: Retrieve a Column Definition For the DECIMAL1_DT Type
coldef <- list(col= tdr.Decimal1(2,1)); tdr.SetOutputColDef(stream, coldef);