3 9 1 I O Module Section

LANSA Technical

3.9.1 I/O Module Section

Specify the sections the part of the file I/O module in which you can include user code to be used to derive virtual fields.

When LANSA is automatically generating an I/O module, it looks for any virtual field code associated with the file and automatically includes it at the correct point.

Rules

Allowable values are:

ARRAYSPECIFICATIONS

Array specifications

CALCULATIONSAFTERINPUT

Calculations after input

CALCULATIONSBEFOREOUTPUT

Calculations before output

COMPILETIMEARRAYDATA

Compile time array data

DATASTRUCTURES

Data structures

EXTERNALFIELDRENAMES

External field renames

FILESPECIFICATIONS

File specifications

INTERNALSUBROUTINES

Internal subroutines

OUTPUTSPECIFICATIONS

Output specifications

 

Tips & Techniques

  • The sections of the I/O module that will require code may depend upon the language being used. For example, RPG has a very structured program layout that requires code definitions in specific parts of the program.

Also See

3.9.2 Virtual Code

Ý 3.9 Virtual Derivation