5.5 3GL Virtual Code
When working with virtual field definitions which use 3GL code, you should be aware of the following:
- 3GL virtual code must be re-specified in ANSI C code. This may coexist with the 3GL RPG code.
- "C" virtual code is identified by placing a character "C" in the first column of the virtual field source code to be included when generating with Visual LANSA.
- Virtual code specified as C should only ever manipulate fields in their "vector" format. A good understanding of the "vector" storage format for fields and the functions available to manipulate them is needed prior to attempting to use virtual code.
Any virtual fields defined using the standard LANSA extended field definitions are supported.