QUEBK | Back to Index page |
Prolog Control Block Contents QUEBK DSECT Storage Layout Cross Reference (Contains links to field and bit definitions) |
|
QUEBK Prolog | Top of page |
NAME : HCPQUEBK DESCRIPTION: Queue Control Block DSECT : QUEBK FUNCTION : The QUEBK defines a container for a FIFO queue of work elements with an associated QueueReader routine. LOCATED BY : The QUEBK may be defined within a CP module, or imbedded within another CP structure. Examples are: HCPCMSDQ contains the static QUEBK for the ISFC Deliver queue. HCPCMSRQ contains the static QUEBK for the ISFC Resume queue. LNKQUEBK contains the QUEBK for a Link queue. HCPAAKIQ contains the QUEBK for the CPAP mailbox CREATED BY : The QUEBK is intended as a general purpose container. It may be created by compiling a module or by allocating a structure that contains a QUEBK. DELETED BY : The QUEBK is intended as a general purpose container. It may be destroyed by releasing the structure that contains the QUEBK. SERIALIZED : The QUESTACK is serialized by CS logic and other fields are only altered by the QueueReader. NOTES : Module HCPQUE operates on the Version 1 QUEBK. o Version 1 does not use QUESTATE. Module HCPQMX operates on the Version 2 QUEBK. o Version 2 uses QUESTATE to validate the QUEBK. RELOCATION CONSIDERATIONS : None |
QUEBK Control Block Content | Top of page |
|
QUEBK Storage Layout | Top of page |
*** QUEBK - Queue Control Block * * +---------------------------+---------------------------+ * 0 | QUESTACK | QUEREADR | * +---------------------------+---------------------------+ * 8 |///////////////////////////////////////////////////////| * +---------------------------+---------------------------+ * 10 | QUEHEAD | QUETAIL | * +---------------------------+------+--------------------+ * 18 | QUECHAIN |:STATE|////////////////////| * +---------------------------+------+--------------------+ * 20 | QUEUWORD | QUEUWRD2 | * +---------------------------+---------------------------+ * 28 |///////////////////////////////////////////////////////| * +-------------------------------------------------------+ * 30 * *** QUEBK - Queue Control Block |
QUEBK Cross Reference | Top of page |
Symbol Dspl Value -------------- ---- ----- QUECHAIN 0018 QUEHEAD 0010 QUEPTRS 0010 QUEREADR 0004 QUESIZE 0028 00000006 QUESTACK 0000 QUESTATE 001C QUETAIL 0014 QUEUE_CLOSED 001C 000000FF QUEUE_INIT 001C 00000000 QUEUE_OPEN 001C 00000001 QUEUWORD 0020 QUEUWRD2 0024 |
Copyright IBM Corporation, 1990, 2022