HP 3000 Manuals

Edit Codes [ HP ALLBASE/4GL Developer Reference Manual Vol. 1 ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Reference Manual Vol. 1

Edit Codes 

Some HP ALLBASE/4GL developer screens ask you to enter an Edit Code for a
field or item.  The edit code defines the type of data that is acceptable
as screen input for the field or item.

The table below lists the available edit codes and their meanings.

  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.

Field specification edit codes, combined with other attributes, map to
external HP ALLBASE/SQL or HP TurboIMAGE/iX data types.  Chapter 5
contains details about the mapping.



MPE/iX 5.0 Documentation