2 3 Repository on the Server

LANSA Open Guide

2.3 Repository on the Server

The LANSA Repository centralizes the information about the fields and files which make up your server's application database and will save you repeating this information in each client program. In order to access any file using LANSA Open, the file must have been defined to the Repository and an I/O Module created.

If you are already using Visual LANSA or LANSA for iSeries to develop your applications, your files will most likely be known to the Repository. Because of the particular benefits the Repository brings to client/server applications, it is recommended that you check your Repository definitions to ensure that all the applicable Repository features are in use.

If you have not previously used LANSA, then the fields and files must be defined and the Repository characteristics added, as described in the Introduction to LANSA for iSeries Guide.

If the files on the IBM i already exist but are not known to LANSA, you will need to load these files into LANSA and create the I/O Modules for them. Refer to Building the LANSA Repository - Files in the Introduction to LANSA for iSeries Guide for the steps required to make your files known to the Repository.

If you are creating a new application, you must define the fields and files that will make up the application's database. Building the LANSA Repository - Files and Building the LANSA Repository - Fields in the Introduction to LANSA for iSeries Guide tells you how to do this.