Use variables based on these Records in the iSeries access function calls that EGL provides.
The following Record definitions are available:
Record SystemDefinition type BasicRecord
systemName string;
userId string;
password string;
end
Record DataAreaDefinition type BasicRecord
areaname char(10);
libname char(10);
areaType int;
systemDef SystemDefinition;
path string?;
end
Record DataQueueDefinition type BasicRecord
qname char(10);
libname char(10);
keyed boolean;
systemDef SystemDefinition;
path string?;
end
Record iDataAccessException type Exception{message = "lib.iDataAccessException: "}
functionName string;
path string;
exception AnyException;
end
The simplest way to add these files to your workspace is to add the EGL with IBM i objects support feature to your project. For more information, see Features and facets of EGL projects.