EGL system libraries and variables

EGL provides a number of system libraries. Their functions and variables are available to your EGL code. In addition, a number of fields are available in the system variables sysVar and vgVar.

The next table lists the system libraries that are available in your product.
Library Purpose
dateTimeLib To let EGL logic (a) retrieve the current date and time and (b) process dates, times, and intervals in various ways.
lobLib To enable EGL-generated Java™ code to work with BLOB (binary large object) or CLOB (character large object) type variables. You can associate a file with a variable of one of those types, transfer data to and from the file, and gain access to a string that represents the data.
mathLib To complete mathematical and trigonometric operations. You can round a number in various ways and determine the maximum or minimum of two numbers.
serviceLib To specify a service location to be accessed at run time and, for Rich UI, to process JSON strings. You can also use the library for security purposes.
sqlLib To interact with relational database management systems; for example, to connect to a database at run time.
strLib To format date and time variables and manipulate strings.
sysLib To write to an error log or a standard location; to commit or roll back database changes; to retrieve properties and messages from text files; to wait for time to elapse; or to run an operating-system command.
vgLib To fulfill processing in ways that primarily support code migrated from VisualAge Generator.
xmlLib To convert an XML string to or from a record.

Feedback