Data queue server

 

Identify the i5/OS™ exit point for data queue serving.

The data queue server has one exit point defined:

QIBM_QZHQ_DATA_QUEUE format ZHQ00100

The exit point QIBM_QZHQ_DATA_QUEUE is defined to run an exit point program when the following data queue server requests are received:

 

Exit point QIBM_QZHQ_DATA_QUEUE format ZHQ00100

Offset Type Field Description
Dec Hex
0 0 CHAR(10) User profile name The name of the user profile that is calling the server
10 A CHAR(10) Server identifier For the data queue, server the value is *DATAQSRV.
20 14 CHAR(8) Format name The user exit format name being used. For QIBM_QZHQ_DATA_QUEUE the format name is ZHQ00100.
28 1C BINARY(4) Requested function The function being performed

  • X'0001' - Query the attributes of a data queue

  • X'0002' - Receive a message from a data queue

  • X'0003' - Create a data queue

  • X'0004' - Delete a data queue

  • X'0005' - Send a message to a data queue

  • X'0006' - Clear messages from a data queue

  • X'0007' - Cancel a pending receive request

  • X'0012' - Receive a message from a data queue without deleting it
32 20 CHAR(10) Object name Data queue name
42 2A CHAR(10) Library name Data queue library
52 34 CHAR(2) Relational operation Relational operator for receive-by-key operation on the request

  • X'0000' - No operator

  • 'EQ' - Equal

  • 'NE' - Not equal

  • 'GE' - Greater or equal

  • 'GT' - Greater than

  • 'LE' - Less or equal

  • 'LT' - Less than
54 36 BINARY(4) Key length Key length specified on the request
58 3A CHAR(256) Key value Key value specified on the request

This format is defined by member EZHQEP in files H, QRPGSRC, QRPGLESRC, QLBLSRC and QCBLLESRC in library QSYSINC.

 

Parent topic:

Exit program parameters