You define each DataTable part in its own EGL source file, where you can specify any of the following properties. The contents property is the only one that is required.
Platform | Issue |
---|---|
Java™ generation | A resident DataTable remains loaded until the run unit ends. However, a non-resident DataTable is unloaded when the program that uses it ends. |
COBOL generation | If the alias property is specified for a DataTable, the name is truncated to 7 characters. |
CICS® | If you set the resident property to YES for a DataTable, do not set the RESIDENT keyword to YES on the CICS RDO PROGRAM definition for the DataTable program. A resident DataTable remains loaded until one of the
following occurs:
The shared property indicates whether the same instance of a DataTable is used by every program in the CICS region and by every program in a given run unit. If you modify a shared table, the modifications are effective for all users of the table in the same CICS region until the table is reloaded. If your program updates a shared table, make the entire update between I/O statements or between program, library, or service calls. Do not obtain a value from the DataTable before the I/O statement or call and then modify the DataTable based on the value you obtained after the I/O or call statement. Another user's transaction might have gotten control at the I/O or call statement and updated the same DataTable in the middle of your update operation. If synchronization is required across an I/O or call statement, use an external serialization method. |
IMS BMP |
A resident DataTable remains loaded until
one of the following situations occurs:
If the resident property is set to NO, the shared property is ignored. Each job step has a separate copy of the table. |
IMS/VS | A resident DataTable remains loaded until
one of the following situations occurs:
Modification of shared DataTables is not supported. |
iSeries® COBOL | A resident DataTable remains loaded until
one of the following situations occurs:
|
JavaScript generation | DataTable is not supported. |