The IOSCMB macro locates the channel measurement block (CMB) for a UCB and returns the data in either a 32 byte CMB format or a 64 byte ECMB format. This service eliminates the need for programs to know the format and location of the CMB.
Environmental factor | Requirement |
---|---|
Minimum authorization: | Supervisor state, zero PSW key |
Dispatchable unit mode: | Task or SRB |
Cross memory mode: | PASN=HASN=SASN |
AMODE: | 31-bit |
ASC mode: | Primary |
Interrupt status: | Enabled for I/O and external interrupts. If the caller is disabled, the parameter list (including any data areas pointed to from the parameter list) must be in fixed or DREF storage. |
Locks: | The caller is not required to hold any locks on entry. |
Control parameters: | Must be in the primary address space |
None.
If the invoker is disabled, the parameter list, which includes any data areas pointed to by the parameter list, must reside in fixed or DREF storage.
None.
The IOSCMB macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede IOSCMB. |
IOSCMB | |
␢ | One or more blanks must follow IOSCMB. |
GET | Default: GET |
,UCBPTR=ucbptr addr | ucbptr addr: Symbol, RX-type address, or register (2) - (12). |
,CMBAREA=cmbarea addr | cmbarea addr: Symbol, RX-type address, or register (2) - (12). |
,CMBLEN=64 | Default: CMBLEN=64 |
,CMBLEN=32 | |
The parameters are explained below:
Hexadecimal Return Code | Hexadecimal ReasonCode | Meaning and Action |
---|---|---|
00 | - - | Meaning: Successful completion of the
IOSCMB request. Action None. |
08 | 01 | Meaning: The IOSCMB request could not complete.
No CMB was assigned for the device. Action: None; do not reissue this macro. |
None.