EGL Reference Guide for iSeries
Overview
EGL language overview
EGL projects, packages, and files
EGL project
Package
EGL files
Recommendations
Parts
Record types and properties
References to parts
Structure
Typedef
Import
Background
Format of the import statement
Primitive types
Primitive types at declaration time
Relative efficiency of different numeric types
Character types
Numeric types
References to variables and constants
Program variables and constants
Function variables
Arrays and items
Rules for referencing variables
This
Operators and precedence
Overview of EGL properties and overrides
Item properties
Declaration properties
Syntax for specifying properties and their overrides
Syntax for overriding item properties in a record
Items
Arrays
Arrays of structure items
Static arrays of records and data items
Dynamic arrays of records and data items
EGL statements
Keywords
Transfer of control across programs
Exception handling
try blocks
Error-related system variables
I/O statements
Error identification
System words
Getting started
Setting EGL preferences
Switching to the EGL or EGL Web perspective
Creating a project to work with EGL
Creating an EGL Web project
Creating an EGL project
Specifying database options at project creation
Creating an EGL source folder
Creating an EGL package
Creating an EGL source file
Creating an EGL program part
Creating an EGL dataTable part
Creating an EGL library part
Opening a part
Locating an EGL source file in the Project Navigator
Creating a build file
Adding an import statement to a build file
Creating a build file with a build descriptor part
Creating a build file with a linkage options part
Creating a build file with a resource associations part
Editing an EGL build path
Working with build descriptor parts
Adding a build descriptor part
Editing general build descriptor options
Editing Java run-time properties in a build descriptor
Working with linkage options parts
Adding a linkage options part
Editing the callLink element of a linkage options part
Editing the asynchLink element of a linkage options part
Editing the transfer-related elements of a linkage options part
Working with resource association parts
Adding a resource associations part
Editing a resource associations part
EGL editor
Content assist
Using the EGL templates with content assist
Setting preferences for the EGL editor
Setting preferences for source styles
Setting preferences for templates
EGL debugger
Debugger mode
Debugger commands
Use of build descriptors
SQL-database access
call statement
System type used at debug time
EGL debugger port
Invoking the EGL debugger from generated code
Recommendations
Setting preferences for the EGL debugger
Starting a non-J2EE program in the EGL debugger
Creating a launch configuration in the EGL debugger
Preparing a server for EGL Web debugging
Starting a server for EGL Web debugging
Starting an EGL Web debugging session
Using breakpoints in the EGL debugger
Stepping through a program in the EGL debugger
Viewing variables in the EGL debugger
Build
Building EGL output
Invoking a build plan after generation
Generation
Generation in the workbench
Generation from the workbench batch interface
Generation from the EGL SDK
Generating for Java
Generating for COBOL
Web applications
Web support
Page Designer support for EGL
Binding controls to data areas in the page handler
Binding controls to functions
Using the Quick Edit view
Associating an EGL primitive type with a JSP
Associating an EGL data item with a JSP
Associating an EGL record with a JSP
EGL Web service
Run-time events
A deployment consideration
EGL Web Service Wizard
Creating an EGL Web service
Creating an EGL Web service definition file
Editing an EGL Web service definition file
Text applications
Segmentation in text applications
Modified data tag and modified property
Interacting with the user
Setting the modified property
Testing whether the form is modified
Examples
Creating an EGL formGroup part
Files and databases
Resource associations and file types
Resource associations part
File types
Record types and VSAM
For further details
Record and file type cross-reference
Logical unit of work
Unit of work for Java
MQSeries support
Connections
Include message in transaction
Customization
MQSeries-related EGL keywords
Direct MQSeries calls
MQ record properties
Options records for MQ records
SQL support
EGL statements and SQL
Result-set processing
SQL records and their uses
Database access at declaration time
Dynamic SQL
resultSetID
SQL examples
SQL-specific tasks
Database authorization and table names
Default database
Informix and EGL
SQL record internals
SQL data codes and EGL host variables
VSAM support
Access prerequisites
System name
Deploying EGL-generated Java output
Installing the EGL run-time code for Java
Setting up the J2EE run-time environment for EGL-generated code
Setting deployment-descriptor values
Understanding how a standard JDBC connection is made
Setting up a J2EE JDBC connection
Setting up the TCP/IP listener
Setting up the J2EE server for CICSJ2C calls
Generating into a project
Updating the deployment descriptor manually
Providing access to non-EGL jar files
Eliminating duplicate jar files
Setting the variable EGL_GENERATORS_PLUGINDIR
Generating into a directory
Deploying a linkage properties file
Updating the J2EE environment file
Updating the deployment descriptor manually
Providing access to non-EGL jar files
Eliminating duplicate jar files
Setting up EJB projects (additional tasks)
Generating deployment code for EJB projects
Setting the JNDI name for EJB projects
Deploying Java applications outside of J2EE
Setting up the UNIX curses library for EGL run time
Reference pages
Association elements
commit
conversionTable
duplicates
fileType
fileName
formFeedOnClose
replace
system
systemName
text
Build descriptor part
Master build descriptors
Precedence of options
Example
Setting the default build descriptors
Build descriptor options
bidiConversionTable
buildPlan
checkNumericOverflow
checkType
cicsj2cTimeout
clientCodeSet
commentLevel
currencySymbol
dbms
debugTrace
decimalSymbol
destDirectory
destHost
destLibrary
destPassword
destPort
destUserID
eliminateSystemDependentCode
enableJavaWrapperGen
fillWithNulls
genDataTables
genDDSFile
genDirectory
genFormGroup
genHelpFormGroup
genProject
genProperties
initIORecords
initNonIOData
J2EE
leftAlign
linkage
math
nextBuildDescriptor
oneFormItemCopybook
positiveSignIndicator
prep
reservedWord
resourceAssociations
serverCodeSet
sessionBeanID
setFormItemFull
spacesZero
sqlDB
sqlErrorTrace
sqlID
sqlIOTrace
sqlJDBCDriverClass
sqlJNDIName
sqlPassword
sqlValidationConnectionURL
sysCodes
system
targetNLS
templateDir
VAGCompatibility
validateMixedItems
validateOnlyIfModified
validateSQLStatements
EGL build-file format
Build script reference
Build script
Build scripts delivered with EGL
Options required in EGL build scripts
Symbolic parameters
Predefined symbolic parameters for EGL generation
Build server
COBOL reserved-word file
Format of COBOL reserved-word file
Compatibility with VisualAge Generator
Data initialization
Data conversion
Data conversion when you generate a COBOL program
Data conversion when the invoker is Java code
Conversion algorithm
Bidirectional language text
DataItem part
DataItem part in EGL source format
DataTable part
Types of data tables
Data-table generation
Properties of the data table
DataTable part in EGL source format
EGL reserved words
Words that are reserved outside of an SQL statement
EGL source format
EGL statements
add
Assignments
call
case
close
Comments
converse
delete
display
execute
exit
forward
Function invocations
get
get next
get previous
goTo
if, else
move
open
prepare
print
replace
return
set
show
transfer
try
while
EGL system limits
Expressions
Logical expressions
Numeric expressions
String expressions
Form part
Text forms
Print forms
Form part in EGL source format
FormGroup part
FormGroup part in EGL source format
pfKeyEquate
Function part
Function part in EGL source format
Generated output
Generated output (reference)
Build plan
COBOL program
Enterprise JavaBean (EJB) session bean
Java program, page handler, and library
J2EE environment file
Java wrapper
Library (generated output)
Linkage properties file
Program properties file
Results file
Generation reference
EGL command file
EGLCMD
EGL build path and eglpath
EGLSDK
Master build descriptor
in
Examples with a one-dimensional array
Examples with a multidimension array
I/O error values
duplicate
endOfFile
format
noRecordFound
unique
Java run-time properties
In a J2EE environment
In a non-J2EE Java environment
Build descriptors and program properties
For additional information
Java run-time properties (details)
Linkage properties file (details)
Library part
Library part in EGL source format
Linkage options part
Specifying when linkage options are final
Elements of a linkage options part
Identifying the programs or records to which an element refers
asynchLink element
callLink element
transferToProgram element
transferToTransaction element
Name aliasing
How names are aliased
How COBOL names are aliased
How Java names are aliased
How Java wrapper names are aliased
Naming conventions
PageHandler part
Output associated with a page handler
Validation
Run-time scenario
PageHandler part in EGL source format
Program part
Program part in EGL source format
Program parameters
Program part properties
Program data other than parameters
Record parts
Basic record part in EGL source format
Indexed record part in EGL source format
MQ record part in EGL source format
Relative record part in EGL source format
Serial record part in EGL source format
SQL record part in EGL source format
Properties that support variable-length records
Run unit
Structure item in EGL source format
Syntax diagram
System words in alphabetical order
Data conversion (system words)
Date and time (system words)
Exception handling and status (system words)
File and database (system words)
Java access functions
Mathematical (system words)
String handling (system words)
Web-application system words
Miscellaneous system words
Use declaration
Background
In a program or library part
In a formGroup part
In a pageHandler part
EGL Java run-time error codes
EGL Java run-time error code CSO7000E
EGL Java run-time error code CSO7015E
EGL Java run-time error code CSO7016E
EGL Java run-time error code CSO7020E
EGL Java run-time error code CSO7021E
EGL Java run-time error code CSO7022E
EGL Java run-time error code CSO7023E
EGL Java run-time error code CSO7024E
EGL Java run-time error code CSO7026E
EGL Java run-time error code CSO7045E
EGL Java run-time error code CSO7050E
EGL Java run-time error code CSO7060E
EGL Java run-time error code CSO7080E
EGL Java run-time error code CSO7160E
EGL Java run-time error code CSO7161E
EGL Java run-time error code CSO7162E
EGL Java run-time error code CSO7163E
EGL Java run-time error code CSO7164E
EGL Java run-time error code CSO7165E
EGL Java run-time error code CSO7166E
EGL Java run-time error code CSO7360E
EGL Java run-time error code CSO7361E
EGL Java run-time error code CSO7488E
EGL Java run-time error code CSO7489E
EGL Java run-time error code CSO7610E
EGL Java run-time error code CSO7620E
EGL Java run-time error code CSO7630E
EGL Java run-time error code CSO7640E
EGL Java run-time error code CSO7650E
EGL Java run-time error code CSO7651E
EGL Java run-time error code CSO7652E
EGL Java run-time error code CSO7653E
EGL Java run-time error code CSO7654E
EGL Java run-time error code CSO7655E
EGL Java run-time error code CSO7656E
EGL Java run-time error code CSO7657E
EGL Java run-time error code CSO7658E
EGL Java run-time error code CSO7659E
EGL Java run-time error code CSO7669E
EGL Java run-time error code CSO7670E
EGL Java run-time error code CSO7671E
EGL Java run-time error code CSO7816E
EGL Java run-time error code CSO7819E
EGL Java run-time error code CSO7831E
EGL Java run-time error code CSO7836E
EGL Java run-time error code CSO7840E
EGL Java run-time error code CSO7885E
EGL Java run-time error code CSO7886E
EGL Java run-time error code CSO7955E
EGL Java run-time error code CSO7957E
EGL Java run-time error code CSO7958E
EGL Java run-time error code CSO7966E
EGL Java run-time error code CSO7968E
EGL Java run-time error code CSO7970E
EGL Java run-time error code CSO7975E
EGL Java run-time error code CSO7976E
EGL Java run-time error code CSO7977E
EGL Java run-time error code CSO7978E
EGL Java run-time error code CSO7979E
EGL Java run-time error code CSO8000E
EGL Java run-time error code CSO8001E
EGL Java run-time error code CSO8002E
EGL Java run-time error code CSO8003E
EGL Java run-time error code CSO8004E
EGL Java run-time error code CSO8005E
EGL Java run-time error code CSO8100E
EGL Java run-time error code CSO8101E
EGL Java run-time error code CSO8102E
EGL Java run-time error code CSO8103E
EGL Java run-time error code CSO8104E
EGL Java run-time error code CSO8105E
EGL Java run-time error code CSO8106E
EGL Java run-time error code CSO8107E
EGL Java run-time error code CSO8108E
EGL Java run-time error code CSO8109E
EGL Java run-time error code CSO8110E
EGL Java run-time error code CSO8180E
EGL Java run-time error code CSO8181E
EGL Java run-time error code CSO8182E
EGL Java run-time error code CSO8200E
EGL Java run-time error code CSO8201E
EGL Java run-time error code CSO8202E
EGL Java run-time error code CSO8203E
EGL Java run-time error code EGL0650E
EGL Java run-time error code EGL0651E
EGL Java run-time error code EGL0652E
EGL Java run-time error code EGL0653E
EGL Java run-time error code EGL0654E
EGL Java run-time error code EGL0655E
EGL Java run-time error code EGL0656E
EGL Java run-time error code EGL0657E
EGL Java run-time error code VGJ0001E
EGL Java run-time error code VGJ0002E
EGL Java run-time error code VGJ0003E
EGL Java run-time error code VGJ0004I
EGL Java run-time error code VGJ0005I
EGL Java run-time error code VGJ0006E
EGL Java run-time error code VGJ0050E
EGL Java run-time error code VGJ0055E
EGL Java run-time error code VGJ0056E
EGL Java run-time error code VGJ0057E
EGL Java run-time error code VGJ0058E
EGL Java run-time error code VGJ0060E
EGL Java run-time error code VGJ0062E
EGL Java run-time error code VGJ0064E
EGL Java run-time error code VGJ0100E
EGL Java run-time error code VGJ0104E
EGL Java run-time error code VGJ0105E
EGL Java run-time error code VGJ0106E
EGL Java run-time error code VGJ0108E
EGL Java run-time error code VGJ0109E
EGL Java run-time error code VGJ0110E
EGL Java run-time error code VGJ0111E
EGL Java run-time error code VGJ0112E
EGL Java run-time error code VGJ0113E
EGL Java run-time error code VGJ0114E
EGL Java run-time error code VGJ0115E
EGL Java run-time error code VGJ0116E
EGL Java run-time error code VGJ0117E
EGL Java run-time error code VGJ0118E
EGL Java run-time error code VGJ0119E
EGL Java run-time error code VGJ0140E
EGL Java run-time error code VGJ0141E
EGL Java run-time error code VGJ0142E
EGL Java run-time error code VGJ0143E
EGL Java run-time error code VGJ0160E
EGL Java run-time error code VGJ0161E
EGL Java run-time error code VGJ0162E
EGL Java run-time error code VGJ0163E
EGL Java run-time error code VGJ0164E
EGL Java run-time error code VGJ0165E
EGL Java run-time error code VGJ0166E
EGL Java run-time error code VGJ0167E
EGL Java run-time error code VGJ0168E
EGL Java run-time error code VGJ0200E
EGL Java run-time error code VGJ0201E
EGL Java run-time error code VGJ0202E
EGL Java run-time error code VGJ0203E
EGL Java run-time error code VGJ0204E
EGL Java run-time error code VGJ0215E
EGL Java run-time error code VGJ0216E
EGL Java run-time error code VGJ0217E
EGL Java run-time error code VGJ0250E
EGL Java run-time error code VGJ0300E
EGL Java run-time error code VGJ0301E
EGL Java run-time error code VGJ0302E
EGL Java run-time error code VGJ0303E
EGL Java run-time error code VGJ0304E
EGL Java run-time error code VGJ0305E
EGL Java run-time error code VGJ0306E
EGL Java run-time error code VGJ0307E
EGL Java run-time error code VGJ0308E
EGL Java run-time error code VGJ0315E
EGL Java run-time error code VGJ0320E
EGL Java run-time error code VGJ0330E
EGL Java run-time error code VGJ0331E
EGL Java run-time error code VGJ0350E
EGL Java run-time error code VGJ0351E
EGL Java run-time error code VGJ0352E
EGL Java run-time error code VGJ0400E
EGL Java run-time error code VGJ0401E
EGL Java run-time error code VGJ0402E
EGL Java run-time error code VGJ0403E
EGL Java run-time error code VGJ0416E
EGL Java run-time error code VGJ0450E
EGL Java run-time error code VGJ0500E
EGL Java run-time error code VGJ0502E
EGL Java run-time error code VGJ0503E
EGL Java run-time error code VGJ0504E
EGL Java run-time error code VGJ0505E
EGL Java run-time error code VGJ0506E
EGL Java run-time error code VGJ0507E
EGL Java run-time error code VGJ0508E
EGL Java run-time error code VGJ0510E
EGL Java run-time error code VGJ0511E
EGL Java run-time error code VGJ0512E
EGL Java run-time error code VGJ0600E
EGL Java run-time error code VGJ0601E
EGL Java run-time error code VGJ0603E
EGL Java run-time error code VGJ0604E
EGL Java run-time error code VGJ0607E
EGL Java run-time error code VGJ0608E
EGL Java run-time error code VGJ0609I
EGL Java run-time error code VGJ0610I
EGL Java run-time error code VGJ0611E
EGL Java run-time error code VGJ0612I
EGL Java run-time error code VGJ0614E
EGL Java run-time error code VGJ0615E
EGL Java run-time error code VGJ0616E
EGL Java run-time error code VGJ0617E
EGL Java run-time error code VGJ0700E
EGL Java run-time error code VGJ0701E
EGL Java run-time error code VGJ0702E
EGL Java run-time error code VGJ0703E
EGL Java run-time error code VGJ0705E
EGL Java run-time error code VGJ0706E
EGL Java run-time error code VGJ0707E
EGL Java run-time error code VGJ0708E
EGL Java run-time error code VGJ0709E
EGL Java run-time error code VGJ0710E
EGL Java run-time error code VGJ0711E
EGL Java run-time error code VGJ0712E
EGL Java run-time error code VGJ0750E
EGL Java run-time error code VGJ0751E
EGL Java run-time error code VGJ0752E
EGL Java run-time error code VGJ0754E
EGL Java run-time error code VGJ0755E
EGL Java run-time error code VGJ0770E
EGL Java run-time error code VGJ0800E
EGL Java run-time error code VGJ0801E
EGL Java run-time error code VGJ0802E
EGL Java run-time error code VGJ1000E
EGL Java run-time error code VGJ1001E
EGL Java run-time error code VGJ1002E
EGL Java run-time error code VGJ1003E
EGL Java run-time error code VGJ1004E
EGL Java run-time error code VGJ1005E
EGL Java run-time error code VGJ1006E
EGL Java run-time error code VGJ1007E
EGL Java run-time error code VGJ1008E
EGL Java run-time error code VGJ1009E
EGL Java run-time error code VGJ9900E
EGL Java run-time error code VGJ9901E
Appendix A. Notices
Programming interface information
Trademarks and service marks
Index
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.