RPG/400 Help

Position 38 (Edit Codes)

Entry
Explanation
Blank
No edit code is used.
1-9, A-D, J-Q, X, Y, Z
Numeric fields are zero-suppressed and punctuated according to a predefined pattern without the use of edit words.

Position 38 is used to specify edit codes that suppress leading zeros in a numeric field or to punctuate a numeric field without using an edit word. Allowable entries are 1 through 9, A through D, J through Q, X, Y, Z, and blank.

Edit codes 5 through 9 are user-defined edit codes and are defined externally by an OS/400 function. The edit code is determined at compilation time. Subsequent changes to a user-defined edit code will not affect the editing by the RPG/400 compiler unless the program is recompiled.

For more information see Simple Edit Codes and Combination Edit Codes.


[ Top of Page | Previous Page | Next Page | Table of Contents ]