13 2 Object Naming Under Windows

LANSA Application Design

13.2 Object Naming Under Windows

One of the well known differences between the IBM i and other operating environments is the length of object names.

These differences are described in detail in:

Historically, most non-IBM i environments only allow 8 character names while the IBM i allows 10 character names.

Visual LANSA has been designed to automatically rename objects for you when an IBM i application definition is migrated. You should be aware of the following:

  • The naming standards and length limitations are historically imposed by the non-IBM i operating environments.
  • Visual LANSA automatically renames files, processes and functions to conform to these rules
  • All dictionary and RDML references remain unchanged, i.e. you may still reference a 10 character object name in your RDML
  • New systems being developed should take note of these standards and avoid using names outside these standards.

If you are planning to access the SQL tables directly or work with the generated C code, you should be aware of the renaming requirements.

 

Portability Considerations

A recommended portability standard for all new application names is to use letters of the English alphabet (A>Z) and Arabic numbers 0 > 9 only in names. Limit all object names to 8 characters or less in length.