HP System Dictionary/XL Utilities Reference Manual - Part 1 SDDBD (32256-90003)

Chapter 12 107
Loading VPLUS/V Definitions
VPLUS/V Forms File
the VPLUS command. Element type is determined from the table below:
where s is the size of the VPLUS field and n the decimal places.
On the other hand, byte-length, display-length, and decimal are determined from the field
data type and the field length as follows:
VPLUS/V Data Type System Dictionary/XL Element Data Type
DIG (1 <= s <= 9) I+
DIG (9 < s) P+
IMPn (1 <= s <= 10) I
IMPn (10 < s) P
NUMn (1 <= s <= 10) I
NUMn (10 < s) P
NUM R
CHAR X
DATE X
VPLUS Data Type Field-size Display-length Byte-length Decimal
CHAR s s s 0
NUM 1 1 4 0
NUM 2 <= s <=6 s - 1 4 0
NUM 7 <= s s - 1 8 0
NUMn 1 1 2 n
NUMn 2 <= s <= 5 s - 1 2 n
NUMn 6 <= s <= 10 s - 1 4 n
NUMn 11 <= s s - 1 (s + 1) / 2 n
DIG 1 <= s <= 4 s 2 n
DIG 5 <= s <=9 s 4 0
DIG 10 <= s s (s + 2) / 1 0
IMPn 1 1 2 0
IMPn 2 <= s <= 5 s - 1 2 n
IMPn 6 <= s <=10 s - 1 4 n
IMPn 11 <= s s - 1 (s + 1) / 2 n