Guardian Procedure Calls Reference Manual (G06.25+)
Formatter Edit Descriptors
Guardian Procedure Calls Reference Manual—522629-013
F-25
Symbol-Substitution Modifier (SS)
The following formatting symbols can be altered by the SS modifier:
The following examples show how the SS modifier can be used to permit decimal
values to be displayed as clock times, to follow European conventions (where a
comma is used as the decimal point and periods are used as digit group separators),
or to alter the function of the digit selectors in the M edit descriptor. When using the
symbol substitution with a mask format, to obtain the function of one special character
which is being altered by the symbol substitution, use the new character of the pair.
With all other formats, use the old character of the pair; for example:
The “|” character is used to denote the boundaries of the output field.
The following table indicates which modifiers can be used with which edit descriptors
(Y stands for yes, the combination is permitted).
Symbo
l Function
9 Digit selector (M format)
Z Digit selector, zero suppression (M
format)
V Decimal alignment character (M
format)
. Decimal point (D, E, F, G, and M
format)
Data Value Format Result
12.45 [SS".:"]F6.2 | 12:45|
12.45 [SS".:"]M<ZZZ:99> | 12:45|
12345.67 [SS'.,']F10.2 | 12345,67|
103179 [SS<9X>]M<XX/XX/19XX> |10/31/1979|
Edit Descriptors
Modifiers A E,D F G I L M
BZ,BN Y Y YYYY Y
LJ,RJ Y
OC Y YYYY Y
FL Y Y YYY Y
SS Y Y Y Y