Guardian Procedure Calls Reference Manual
an unsigned integer constant that defines the number of digits that must be present on outputm
an unsigned integer constant that defines the number base of the external data and cannot be less than 2 or
greater than 16.
b
On output, the Iw edit descriptor causes the external field to consist of zero or more leading blanks
(followed by a minus if the value of the internal data is negative, or an optional plus otherwise),
followed by the magnitude of the internal value in the form of an unsigned integer constant without
leading zeros. An integer constant always consists of at least one digit. If the number of characters
produced exceeds the value of w, the entire field of width w is filled with asterisks.
The output from an Iw.m edit descriptor is the same as that from the Iw edit descriptor, except that
the unsigned integer constant consists of at least m digits and, if necessary, has leading zeros. The
value of m must not exceed the value of w. If m is zero and the internal data is zero, the output field
consists only of blank characters, regardless of the sign control in effect.
The output from an Iw.m.b edit descriptor is the same as that from the Iw.m edit descriptor, except
that the unsigned integer constant is represented in the number base b. With the Iw edit and I w.m
edit descriptors, the output is treated as if b were present and equal to 10. For example:
ResultData ValueFormat
| 100|100I7
| -01|-1I7.2
| 000100|100I7.6
|-000001|-1I7.6
| 000034|28I7.6.8
| -101|-5I7.1.2
The "|" character is used to denote the boundaries of the output field.
On input, the Iw.m edit descriptor and the Iw.m.b edit descriptor are treated identically to the Iw
edit descriptor. These edit descriptors indicate that the field to be edited occupies w positions. In
the input field, the character string must be in the form of an optionally signed integer constant
consisting only of base b digits, except for the interpretation blanks. Leading blanks on input are
not significant, and the interpretation of any other blanks is determined by blank control descriptors
(BN and BZ). For example:
Data Element ValueFormatExternal Field
100I7| 100|
-1I7| -01|
1I7| 1 |
1000BZ,I7| 1 |
10200BZ,I7| 1 2 |
12BN,I7| 1 2 |
The "|" character is used to denote the boundaries of the output field.
Repeatable Edit Descriptors 1561