| Quick Reference |
This document covers the following topics:
See also Broker ACI Functions
The ACI field formats are alphanumeric, binary, or integer and include the number of bytes. For example:
| Format | Description |
|---|---|
| A8, A16, A32 | Alphanumeric (A-Z, 0-9) |
| B16, B32 | Binary |
| Integer (unsigned) |
The terms "null value" or "nothing specified" used for a field mean blank for alphanumeric formats and zero for integer formats.
The ACI fields are described below in alphabetical order.
| ACI Field | Format | Possible Values | API Version |
I/O | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ADAPTER-ERROR | A8 | 2 | O | Not used by EntireX Broker. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ADCOUNT | I4 | 2 | O | A count of the number of times an attempt was made to deliver a UOW. The count is incremented if a UOW is backed out or timed out. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| API-TYPE | B1 | bits | 1 | I | Required for all ACI functions except VERSION. See API-TYPE and API-VERSION in Writing Applications: Client and Server or Publish and Subscribe. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| API-VERSION | I1 | 1-9 | 1 | I | Required for all ACI functions except VERSION. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BROKER-ID | A32 | string | 1 | I | The
BROKER-ID
as defined in the Broker attribute file. Required for all ACI functions except
VERSION.
The BROKER-ID may be specified in URL Style or Transport Method Style. In order to communicate, applications must specify the same BROKER-ID. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CLIENT-ID | I4 | 1-2147483647 | 9 | O | Returns to a server application the unique instance number of a client application. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CLIENT-UID | A32 | string | 2 | O | Applies only to client-server communication
model.
When a server issues a RECEIVE function, the USER-ID of the client is returned to the server in the CLIENT-UID field. If EntireX Security is installed, it is valid for the server application to rely on this USER-ID when making decisions concerning access to information. See Authentication (z/OS only). Note: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| COMMITTIME | A17 | YYYY MMDD HHMM SSms |
7 | O |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| COMPRESSLEVEL | A1 | 0-9 or Y | N | 7 | I |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CONV-ID | A16 | string | 1 | I/O |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CONV-STAT | I1 | 1 | 2 | 3 | 2 | O |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CREDENTIALS-TYPE | binary | 9 | O |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DATA-ARCH | I1 | 1-12 | 4 | I |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ENCRYPTION-LEVEL | I1 | 0|1|2 | 6 | I | Encryption level. See Using Encryption. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ENVIRONMENT | A32 | string | 1 | I | Information for Translation User Exits.
The contents of the field are solely the responsibility of the application and its associated Translation User Exit. The field cannot be used for any other internationalization approaches and must be empty if a method other than Translation User Exit is used. See Using Internationalization in Writing Applications: Client and Server. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ERROR-CODE | A8 | 1 | O | Returns an error code to the caller. The application should check the contents of this field at the completion of every Broker function. See Error Handling in Client and Server or in Publish and Subscribe. The first four digits represent the error class; the next four digits represent the error number; see also Messages and Codes. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ERRTEXT-LENGTH | I4 | 0-40 | 0-255 | 1 | 9 | I | Length of the error text buffer in bytes. See Call Format:
Natural |
C |
COBOL |
PL/I |
RPG |
Assembler.
If there are fewer than 40 bytes, the error text may be truncated. A value of 0 (zero) means no error text. Note regarding ACI 9: In previous ACI versions, Broker kernel always returned 40 bytes of error text that were space-padded if necessary. With ACI version 9, variable-length error texts can be returned to improve logging and tracing. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FORCE-LOGON | A1 | Y | N | 6 | I |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FUNCTION | I1 | 1-22 | 1 | I |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| KERNELSECURITY | A1 | Y | U | N | 7 | I/O |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| LOCALE-STRING | A40 | string | 4 | I |
It is assumed that you have read the introductory document Internationalization with EntireX and are familiar with the various internationalization approaches. The locale string tells the broker the encoding of the data. No conversion is done within the broker's stub. The application must ensure the data provided matches the locale string. The locale string is case-insensitive, also dashes '-' and underscores '_' are ignored (dashes and underscore improve human readability). See Using Internationalization. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| LOG-COMMAND | I1 | 0 | 1 | 9 | I |
Components that communicate with Broker can trigger command logging by setting this field. By default, command logging is based on the command log filters set in the kernel. You may override these kernel settings programmatically by setting this LOG-COMMAND field. If this field is set, all associated commands will be logged. Note: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MSG-ID | B32 | 2 | I/O | Not used by EntireX Broker. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MSG-TYPE | A16 | 2 | I/O | Not used by EntireX Broker. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NEWPASSWORD | B32 | Can contain binary data. | 2 | I | Specifies a new password to be transmitted to the Broker kernel
to check the authentication of the application. See
Authentication.
The current password can be changed only when the client or server authenticates itself. This occurs on the first Broker ACI function (can be LOGON) and requires the application to assign to the Broker ACI fields PASSWORD and NEWPASSWORD. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| OPTION | I1 | 0-21 | 1 | I |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PARTNER-BROKER-ID | A32 | string | 9 | O | ID of the partner broker. See Achieving High Availability of the Persistent Store. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PASSWORD | A32 | Can contain binary data. | 1 | I | Specifies a password to be transmitted to the Broker to check the authentication of the application. See Authentication and Using FORCE-LOGON. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PTIME | A8 | 2 | I | Not used by EntireX Broker. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PUBLICATION-ID | A16 | string, case-sensitive. | 8 | I/O |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RECEIVE-LENGTH | B32 | Binary. | 1 | I/O | Specifies the length of receive buffer, in bytes. The maximum
length depends on the transport method:
Note: See Using Send and Receive Buffers in Client and Server or in Publish and Subscribe. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RETURN-LENGTH | I4 | 1 | O | Length, in bytes, of the data returned.
See Using Send and Receive Buffers in Client and Server or in Publish and Subscribe. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SECURITY-TOKEN | B32 | binary | 1 | I/O | The contents of this field depend heavily on the implementation
of the security exits
This field is utilized by EntireX Security. The application must maintain SECURITY-TOKEN between commands and not change this value. We recommend that the application allocate a separate ACI control block for each user if it issues commands on behalf of more than one user. For objects executing inside web servers, assigning a unique value, such as 'session ID', to the ACI TOKEN field is highly recommended to ensure uniqueness of user at same physical location. See Ignore Security Token in the EntireX Security documentation. If EntireX Security is not implemented, and you choose to write your own security exits your can transmit an initial value to your security exit as a credential that is used to calculate the actual security token. After an application's authenticity has been verified by the security exits, the SECURITY-TOKEN can be used to avoid additional authentication checks. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SEND-LENGTH | B32 | binary | 1 | I/O | Specifies the length of data being sent, in bytes. The maximum
length depends on the transport method:
Note: See Using Send and Receive Buffers in Client and Server or in Publish and Subscribe. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
SERVER-CLASS SERVER-NAME SERVICE |
A32 each | string, case-sensitive | 1 | I/O | A client uses these fields to identify the service that it
requires. A server uses this field to offer a service.
Using all three fields allows you to organize servers, making them easier to identify, monitor, and maintain. Servers can be organized into server-classes, with each server providing a number of different services. Each service must be defined in the attribute file (see Service-specific Attributes). The service fields are required with SEND, RECEIVE, and EOC functions when CONV-ID is set to NEW, OLD, or ANY. When a CONV-ID is supplied, the service fields are ignored. SERVICE=* or SERVER-NAME=* can be used on a RECEIVE function to indicate all services within a specified server or all servers within a specified server class. Note: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| STATUS | I1 | 2 | I/O | Not used by EntireX Broker. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| STORE | I1 | 0 | 1 | 2 | 2 | I/O |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TOKEN | A32 | string, case-sensitive. | 1 | I |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TOPIC | A96 | string,case-sensitive. | 8 | I/O | Topic name for publish
and subscribe communication model.
A publisher uses this field to identify the topic name required. A subscriber uses this field to indicate the topic from which publications are to be obtained. Each topic must be defined in the attribute file. See Topic-specific Attributes. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| UOW-ID | A16 | 3 | I/O |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| UOWSTATUS | I1 | 3 | O |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| UOW-STATUS-PERSIST | 0 - 255 | 3 | I |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| USER-DATA | B16 | binary | 2 | I/O | Conversation User Data. See Managing Conversation Contexts. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| USER-ID | A32 | string, case-sensitive | 1 | I |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| USTATUS | A32 | string | 3 | I/O | User-defined information about a unit of work (UOW). It can be transmitted on a SEND, RECEIVE, or SYNCPOINT function and is returned to applications that query the status of the UOW. To update the USTATUS field, use OPTION=SETUSTATUS. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| UWSTAT-LIFETIME | A8 | nS | nM | nH | nD | 8 | I |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| UWTIME | A8 | nS | nM | nH | nD | 3 | I |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WAIT | A8 | NO | YES | nS | nM | nH | 1 | I |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||