The syntax diagram is as follows for a program part
of type VGWebTransaction:
- Program programPartName ... end
- Identifies the part as a program part and specifies the name and type.
A program of type VGWebTransaction cannot be called from another program.
If you do not set the alias property
(as described later), the name of the generated program is programPartName.
For
other rules, see naming conventions.
- VGWebTranProperties
- The properties available for programs of type VGWebTransaction are as
follows:
- @DLI
- alias
- allowUnqualifiedItemReferences
- handleHardIOErrors
- inputRecord
- inputUIRecord
- includeReferencedFunctions
- msgTablePrefix
For details on @DLI, see the topic of the same name. For other properties,
see Program part properties.
- programData
- Variable and use declarations, as described in Program data other than
parameters.
- mainFunctionPart
- A required function named main, which takes
no parameters. (The only program code that can take parameters is the program
itself, as well as functions other than main.)
For details on writing
a function, see Function part in EGL source format.
- functionPart
- An embedded function, which is not available to any logic part other than
the program. For details on writing a function, see Function part in EGL
source format.