S05008

Error Code

S05008

Error Message

Must specify scale for Decimal data type, e.g., DECIMAL32(2). RefId: S05008

Probable Causes

This error occurs when the scale (denoting the number of decimal places) of a DECIMAL value is unspecified. For details, see Data Types.

For example, an error may arise because the scale of the following DECIMAL values is unspecified.

v = array(DECIMAL32)

v = array(DECIMAL32[])

t = table(100:0, `c1`c2, [INT, DECIMAL64])

Solutions

Specify the scalefor each DECIMAL value.

v = array(DECIMAL32(2))

v = array(DECIMAL32(2)[])

t = table(100:0, `c1`c2, [INT, DECIMAL64(5)])