%DEC (Convert to Packed Decimal Format)
%DEC(numeric or character expression{recision:decimal places})
%DEC converts the value of the numeric or character expression to decimal
(packed) format with precision digits and decimal places decimal positions. The
precision and decimal places must be numeric literals, named constants that
represent numeric literals, or built-in functions with a numeric value known at
compile-time.
Parameters precision and decimal places may be omitted if the type of expression
is neither float nor character. If these parameters are omitted, the precision and
decimal places are taken from the attributes of numeric expression.
If the parameter is a character expression, the following rules apply:
v The sign is optional. It can be ’+’ or ’-’. It can precede or follow the numeric
data.
v The decimal point is optional. It can be either a period or a comma.
v Blanks are allowed anywhere in the data. For example, ’ + 3 ’ is a valid
parameter.
v The second and third parameters are required.
v Floating point data, for eample ’1.2E6’, is not allowed.
v If invalid numeric data is found, an exception occurs with status code 105.

Auszug aus V5R1-Handbuch. Ob bereits in V4 glaube ich eher nicht.