|
|
|
DATANAME
|
DATANAME is the name of the data item and the associated subscript used in conjunction with VALUE so that output has the format of data item=value. For example, for a data item named EMPLOYEE-ID (5), the output would be EMPLOYEE-ID.
|
VALUE
|
VALUE represents the EBCDIC representation of a data item. The following chart shows the number of bytes DATABridge uses to format various types of data items.
|
|
Type
|
Size
|
|
ALPHA(n)
|
n characters, depending on the actual size of the data item
|
|
NUMBER(n)
|
n digits, depending on the actual size of the data item
|
|
NUMBER(Sn)
|
1 character (sign) + n digits
|
|
NUMBER(n, m)
|
1 character (decimal point) + n digits, of which m are to the right of the assumed decimal point
|
|
NUMBER(Sn, m)
|
1 character (sign) + 1 character (decimal point) + n digits, of which m are to the right of the assumed decimal point
|
|
REAL
|
1 character (sign) + w digits
where w is from FLOAT SCIENTIFIC (w) or from FLOAT DECIMAL (w, d)
|
|
REAL(n)
|
11 digits
|
|
REAL(Sn)
|
1 character (sign) + 11 digits
|
|
REAL(Sn,m)
|
1 character (sign) + 1 character (decimal point) + 11 digits, of which m are to the right of the assumed decimal point
|
|
RECORDTYPE
|
11 digits
|
|
FIELD(n)
|
11 digits
|
|
BOOLEAN
|
1 character, as follows (by default):
0 = false 1 = true
|