Edit Codes [ HP ALLBASE/4GL Developer Quick Reference Guide ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Quick Reference Guide
Edit Codes
The HP ALLBASE/4GL edit codes and their meanings are:
Code Meaning
X Any printable character.
A Alphabetic characters only (A to z, extended characters, or space).
U Forced uppercase. Same as X edit code, but shifts all lowercase alphabetic
characters to uppercase.
K Alphanumeric characters only (A to z, 0 to 9, extended characters, and
underscore).
N Unsigned number (0 to 9, a period ".", or a comma ",").
S Signed number. Same as N edit code, but may include + or -.
Q Question. Y, y, N, or n only. Any characters beyond the first character in
the field are ignored.
D Date field. Must be eight characters long. The date may be either MM/DD/YY
or DD/MM/YY (depending on the system-wide date format) where MM, DD, and YY
represent the month, day, and year respectively.
T Date field, defaulting to the current date.
MPE/iX 5.0 Documentation