DESCRIPTIVE NAME = Transient Data Wait Control
CICS/ESA AP Domain
Licensed Materials - Property of IBM
Restricted Materials of IBM
5655-Y04
(C) Copyright IBM Corp. 1982, 2005
FUNCTION =
Copybook DFHMWCPS provides structure DFHMWCB.
DFHMWCB describes the Wait Control Block (MWCB),
a MWCB is allocated on an as required basis.
LIFETIME =
The lifetime of the control block is essentially
that of the wait. They are allocated when it is
necessary to suspend a task and freed when the task is
resumed.
STORAGE CLASS =
The control block is located in storage allocated
from the DFHTDWCB subpool.
LOCATION =
The MWCB is located from
1. a DCTE
2. the MBCA
3. a MBCB
2. the MRCA
3. a MRCB
depending on the event being waited on.
INNER CONTROL BLOCKS =
There are no inner control blocks.
NOTES :
DEPENDENCIES =
S/370
RESTRICTIONS =
There are no restrictions.
MODULE TYPE =
Control block definition.
MULTIPLE BUFFERS - WAIT CONTROL BLOCK (MWCB)
Table 1.
Offset Hex |
Type |
Len |
Name (Dim) |
Description |
(0) |
STRUCTURE |
40 |
DFHMWCB |
(0) |
CHARACTER |
16 |
MWCB_PREFIX |
prefix |
(0) |
HALFWORD |
2 |
MWCB_LENGTH |
- length |
(2) |
CHARACTER |
1 |
MWCB_ARROW |
- value - '>' |
(3) |
CHARACTER |
3 |
MWCB_DFH |
- value - 'DFH' |
(6) |
CHARACTER |
2 |
MWCB_DOMID |
- value - 'TD' |
(8) |
CHARACTER |
8 |
MWCB_BLOCK |
- value - 'MWCB ' |
(10) |
ADDRESS |
4 |
MWCB_MWCB_P |
A(next MWCB) or 0 |
(14) |
FULLWORD |
4 |
MWCB_TASK_TOKEN |
- task token |
(18) |
ADDRESS |
4 |
MWCB_SR_TOK |
- SUSPEND/RESUME token |
(1C) |
CHARACTER |
4 |
MWCB_TXN_NUMBER |
- Owning txn number |
(20) |
BIT(8) |
1 |
MWCB_TDQ_FLAG |
(20) |
1111 111. |
|
* |
(20) |
.... ...1 |
|
MWCB_TDQ_DISCARDED |
- assoc tdq gone |
(21) |
CHARACTER |
3 |
* |
- reserved |
(24) |
CHARACTER |
4 |
* |
- reserved |
(28) |
CHARACTER |
0 |
* |