4 5 1 Setting up the Required System Information

LANSA Open System Utilities

4.5.1 Setting up the Required System Information

Shipped with the LANSA product are two source members, UD@CALL1 and UD@CALL2. These are available in file DC@F28 in the LANSA Data Library. The objects are not shipped.

The shipped programs can be used to set up the DC@IDS and DC@EDS information. However, the user defined 3GL program that calls the LANSA process or function will have to supply the PR@IDS - Process Information. (A sample set up for PR@IDS is supplied at the end of this chapter.)

To automatically load the DC@IDS and DC@EDS system information in the user defined 3GL program that will invoke the LANSA process or function, include a call to programs UD@CALL1 and UD@CALL2 respectively .

Tip

The user defined 3GL program should only load the required information for this type of processing once within a job. Once the system information is loaded it can be passed between all programs within the job.

The following diagram shows a possible logic flow of an application that uses user defined 3GL programs to execute a LANSA application.