3.10.2 Virtual Code
The code for the virtual columns that is to be imbedded into the OAM.
When LANSA is automatically generating the code for an OAM, it looks for any virtual column code associated with the table and automatically includes it at the correct point.
Rules
- RPG or C code may be entered.
- C code must have the letter C as the first character of each line.
Warnings
- There is no syntax checking performed on the code entered.
Tips & Techniques
- The sections of RPG or C code displayed describe the parts or portions of the table OAM in which you can include user code that is to be used to derive virtual columns.
- Triggers or, for RDMLX tables 3.3.10 Code Fragment, can be used for most complex virtual column derivation. These are much simpler than writing C or RPG code.
Platform Considerations
Also See
3.10.1 OAM Section