Persistence ESQL API
The Persistence API, otherwise known as the multi row insert API,
provides a set of helper functions that can be used to prepare and
insert data into the database.
| API Function | Description |
|---|---|
|
Initializes the basic place holder and moves the reference to point to it |
|
By default, the API uses pseudo IDs for objects that may not be persisted to the database. Invoking this function switches the API to use database allocated IDs for all objects. At present, there are no known reasons to use this function, so it is recommended it not be used unless suggested by IBM®. |
|
Create an area for the given Type/Subtype and
store the basic insert view to be used:
cDataType = PT | FRAG | BAT | TXN | OV | OOR | ERR | MISC |
|
Specify the maximum number of rows to be inserted per INSERT statement for this data set. Value table configuration properties set the upper limit. |
|
Depending on channel settings and where they route, some outbound transactions may not be persisted. Allow the Action to provide routing information - to allow the API to look ahead to see where the transaction will route. |
|
Create an OBJ_OBJ_REL record of the specified type between the two specified objects. |
|
Initialize a new row for the next set of data. All this does is increment the row count, test it against the limit, and create new row set if the limit is exceeded |
|
Add a row to the persistence cache. The data for the row is the child elements of the reference 'rInRow'. Must contain a child element 'ID'. |
|
Add a transaction row to the persistence cache. The data for the row is the child elements of the reference 'rInRow'. Must contain a child element 'ID'. Special handling of ISF_DATA column is provided for z/OS®. |
|
Add a row to the persistence cache. The data for the row is the child elements of the reference 'rInRow'. Should not contain a child element 'ID'. ID is generated internally. |
|
Add a string value to the current cached row. |
|
Add an integer value to the current cached row. |
|
Add a decimal value to the current cached row. |
|
Add a date value to the current cached row. |
|
Add a time value to the current cached row. |
|
Add a time stamp value to the current cached row. For more information relating to persistence and the database time zone, see Persistence & database time zone. |
|
Set the STATUS value for the current cached row. Supports alteration of the status value for efficiency. |
|
Add a BLOB value to the current cached row. |
|
Add a BLOB value representing ISF to the current cached row. Automatically handles z/OS length restrictions. |
|
Add a BLOB value representing TRANSACTION_BASE.RAW_DATA to the current cached row. |
|
Add a BLOB value representing TRANSMISSION_BASE.DATA to the current cached row. Automatically handles z/OS length restrictions. |
|
Add a BLOB value representing FRAGMENT_BASE.DATA to the current cached row. |
|
Insert an OBJ_VALUE record related to the specified object. Set the SMALL_VALUE for category/key. |
|
Insert an OBJ_VALUE record related to the specified object. Set the LOB_VALUE for category/key. |
|
Insert a COUNTER record related to the specified object. Set the count, the amount, or both, for type/name. |