This section details some specific examples of virtual field definition and the RPG derivation code required to establish the virtual fields.
Example 1: Sub-stringing a Field
Example 2: Accumulation Of Fields
Example 3: Converting a Date of Birth to an Age
Example 4: Getting Information from Another File
Example 5: Accessing an Internally Described File