iSeries® functions provide access to data queues and data areas.
The names and signatures of the functions are the same in both libraries.
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.
The following functions are available:
| Function | Description |
|---|---|
| addElement(dataQueueDef, elementData[, keyData]) | Adds data to a specified data queue. |
| result = browseNextElement(dataQueueDef, elementData, wait[, keyData, searchType]) | Reads data from a specified data queue but does not delete the data from the queue. |
| clearQueue (dataQueueDef) | Removes all data from a specified data queue. |
| result = getDataArea (dataAreaDef) | Returns the current contents of a specified data area. |
| result = getNextElement(dataQueueDef, elementData, wait[, keyData, searchType]) | Reads data from a specified data queue and deletes the data from the queue. |
| updateDataArea(dataAreaDef, elementData) | Replaces the previous contents of a specified data area with new data. |