You must specify the precision when declaring a packed decimal host variable using the DECL_DECIMAL macro. The scale is optional.