The encoded sign edit string characters are the encoded minus edit string character (C), the encoded sign edit string character (G), and the encoded plus edit string character (K).
1 – C Encoded Minus Character
If the field's value is negative, the encoded minus character C (uppercase letter C) overwrites the next digit with a minus sign (-), then moves the encoded digit to the edit string. If the field's value is positive or zero, this character moves the next digit into the edited string. Use this character only at the beginning or end of a string. An edit string can contain only one character designating a sign. Do not use this character within an edit string that contains other characters designating a sign. See the reference manual for the language or product that will interpret the edit string to determine how the language or product interprets encoded sign characters. CDO Edit C99 String: PL/I Picture R99 Clause: Field Value: -456 Edited M56 Value:
2 – G Encoded Sign Character
If the field's value is positive, the encoded sign character G (uppercase letter G) overwrites the next digit with a plus sign (+), then moves the encoded digit to the edit string. If the field's value is negative, the encoded sign character (G) overwrites the next digit with a minus sign (-), then moves the encoded digit to the edit string. If the field's value is zero, the action of this character depends on the language. Use this character only at the beginning or end of a string. An edit string can contain only one character designating a sign. Do not use this character within an edit string that contains other characters designating a sign. See the reference manual for the language or product that will interpret the edit string to determine how the language or product interprets encoded sign characters. CDO Edit G99 String: PL/I Picture T99 Clause: Field Value: +123 Edited A23 Value:
3 – K Encoded Plus Character
If the field's value is positive, the encoded plus character K (uppercase letter K) overwrites the next digit with a plus sign (+), then moves the encoded plus digit to the edit string. If the field's value is negative or zero, the encoded plus character (K) moves the next digit into the edited string. Use this character only at the beginning or end of a string. An edit string can contain only one character designating a sign. Do not use this character within an edit string that contains other characters designating a sign. See the reference manual for the language or product that will interpret the edit string to determine how the language or product interprets encoded plus characters. CDO Edit K99 String: PL/I Picture I99 Clause: Field Value: +123 Edited A23 Value: