Queue Manager Manual

DEQ (UOW Code 501)
Queue Manager Server Interface
2–12 46517 Tandem Computers Incorporated
In the response, TIME-OF-ENQ is the timestamp generated by the Entry Manager
that made the entry on the queue.
CPU-PIN
This in the request is ignored if SPECIFIC-DEQ is set to N.
In the request, CPU-PIN is the CPU PIN value to be used in the search.
In the response, CPU-PIN is the CPU PIN of the Entry Manager that made the
entry.
MAX-DATA-SIZE
This is the maximum number of bytes to be returned.
PAD-CHAR
This is the character to be used for padding the reply buffer when the actual data
length is less than MAX-DATA-SIZE.
RETN-CODE
This is the return code. The server returns a code in this field to indicate one of the
following entries.
0 OK 4087 E-INVALID-MAX-DATASIZE
4010 E-BAD-TRANSACTION 4089 W-DATA-TRUNCATED
4051 E-MUST-BE-YN 4924 E-ERR-QUEUE-FILE
4052 E-RESERVED-MUST-BE-N 4990 E-IO-TIMEOUT
4078 E-INVALID-PRIORITY 6001 W-QUEUE-EMPTY
RETN-CODE-DETAIL
This is an error number returned by a subsystem other than the Queue Manager
facility or is a further qualification of an error detected by the server.
DATA-LEN
This equals the actual length of the data field before the reply buffer is padded to
MAX-DATA-SIZE bytes in length. The format of the data in the queue entry returned
by DEQ must be defined by the application. This data would immediately follow the
DATA-LEN field and be MAX-DATA-SIZE bytes. The maximum size for the data
portion of the response is constrained by the record size defined for the Queue file at
configuration time. Refer to Section 4, “Installation and Management”.
A sample format for the data portion would be:
02 data-field PIC X(100).