3.10.1 OAM Section
The sections the part of the table OAM in which you can include user code to be used to derive virtual columns.
When LANSA is automatically generating an OAM, it looks for any virtual column code associated with the table 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 OAM 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.10.2 Virtual Code