4 5 Access to LANSA Data Structures

LANSA Open System Utilities

4.5 Access to LANSA Data Structures

When LANSA invokes a process or a function, it passes some data structures that contain information that is vital for the function to execute as expected. Information such as this:

  • Partition information (command key descriptions, data and module library names, SAA/CUA information etc)
  • Multilingual information
  • Environment information (OS/400 Version/Release)
  • LANSA system information

In order for a user defined 3GL program to successfully invoke a LANSA process or function directly this information needs to be available. Refer to 4.5.1 Setting up the Required System Information.

Note: Some sample program code is shipped with the LANSA software and this can be used to set up this required system information. For the location of this sample code refer to 4.6.3 Data Structures and Working Lists.