Naming conventions for a database file
The file name, record format name, and field name can be as long as 10 characters and must follow all system naming conventions. Some high-level languages have more restrictive naming conventions than the system has.
For example, the RPG/400® language allows only 6-character names, while the system allows 10-character names. In some cases, you can temporarily change (rename) the system name to one that meets the high-level language restrictions. For more information about renaming database fields in programs, see your high-level language topic collection. In addition, names must be unique as follows:
- Field names must be unique in a record format.
- Record format names and member names must be unique in a file.
- File names must be unique in a library.
Parent topic:
How database files are described