Logical View Name

LANSA Technical

Logical View Name

Mandatory.

Specify the name that is to be assigned to the logical view/ file.

Rules

  • Restricted to a maximum of 10 characters. 
  • Logical file names must be unique. No other physical or logical file can exist in the same library with the same name.
  • Note that no library name is required. LANSA will always create the logical file into the same library as the associated physical file. This is the library that was specified when the file definition was first created.

Platform Considerations

  • IBM i: If using native RPG programming language, a maximum of 8 character names should be used.

Tips & Techniques

  • Many IT departments adopt a naming standard that requires that logical file names contain or relate to the associated physical file name. This is to prevent confusion amongst users when they are accessing the physical or logical files.
  • For instance, the physical file (and LANSA file definition) of a customer master file might be named CUSMST. The associated logical views might be called:

CUSMSTV1

Customers ordered by customer name.

CUSMSTV2

Customers ordered by postcode.

CUSMSTV3

Customers ordered by state.

 

 

Ý 3.4.1 Logical View Definition