VGWebTransaction program in EGL source format

The syntax diagram is as follows for a program part of type VGWebTransaction:


Syntax diagram 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.

Related concepts
EGL projects, packages, and files
Overview of EGL properties
Parts
Program part
Segmentation in text applications
Web support
Web transaction support in EGL

Related reference
@DLI
EGL source format
Function part in EGL source format
Naming conventions
Program data other than parameters
Program parameters
Program part in EGL source format
Program part properties
Syntax diagram for EGL statements and commands
Use declaration

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.