The IOSCUINF macro provides data of the specific control unit according to requests and also gives user the ability to reset high watermark measurements.
The requirements for the caller are:
Environmental factor | Requirement |
---|---|
Minimum authorization: | Problem or Supervisor state. Any PSW key. |
Dispatchable unit mode: | Task or SRB mode |
AMODE: | 31-bit |
ASC mode: | Primary |
Interrupt status: | Enabled or disabled for I/O and external interrupts |
None.
Before issuing the IOSCUINF macro, the caller does not have to place any information into any register unless using it in register notation for a particular parameter, or using it as a base register.
The contents of registers 14 through 1 are altered during processing.
None.
The standard form of the IOSCUINF macro is written as follows:
Syntax | Description |
---|---|
name | name: symbol. Begin name in column 1. |
␢ | One or more blanks must precede IOSCUINF. |
IOSCUINF | |
␢ | One or more blanks must follow IOSCUINF. |
[,xlabel] | An optional symbol, starting in column 1, that is the name on the IOSCUINF macro invocation. DEFAULT: No name |
CU=cu | cu: The name (RS-type) of a halfword input. |
,TOKENNED=tokenned | tokenned: RX-type address or register (2) - (12). |
,CLASS | |
[,CUCLASS=ALL|TAPE|COMM|DASD|DISP|UREC|CHAR] | Default: ALL |
,GROUP | |
[,CUGROUP=PAV|HYPERPAV] | Default: PAV Note: Specify only one of
the above keywords: CU, TOKENNED, CLASS, or GROUP.
|
,OUTPUT_AREA=output_area | output_area: RS-type address or register (2) - (12). |
[,RESET_MEASURES] | Default: None |
[,PATHINFO] | Default: None |
[,LINKAGE=SYSTEM|BRANCH] | Default: SYSTEM |
[,RETCODE=retcode] | retcode: RS-type address or register (2) - (12). |
[,RSNCODE=rsncode] | rsncode: RS-type address or register (2) - (12). |
[,PLISTVER=plistver|IMPLIED_VERSION] | Default: IMPLIED_VERSION |
[,MF=S] | Default: MF=S |
[,MF=(L,mfctrl,mfattr, 0D)] | |
[,MF=(E,mfctrl,COMPLETE)] | |
Default: ALL.
DEFAULT: PAV.
To code: Specify the RS-type address of a fullword field, or register (2) - (12) (ASM only).
DEFAULT: NONE.
DEFAULT: NONE.
DEFAULT: SYSTEM.
To code: Specify the RS-type address of a fullword field, or register (2) - (12) (ASM only).
To code: Specify the RS-type address of a fullword field, or address in register (2) - (12) (ASM only).
If you can tolerate the size change, IBM® suggests that you always specify PLISTVER=MAX on the list form of the macro. Specifying MAX ensures that the list-form parameter list is always long enough to hold all the parameters you might specify on the execute form, when both are assembled with the same level of the system. In this way, MAX ensures that the parameter list does not overwrite nearby storage.
Use MF=S to specify the standard form of the macro, which builds an inline parameter list and generates the macro invocation to transfer control to the servIice. MF=S is the default.
Use MF=L to specify the list form of the macro. Use the list form together with the execute form of the macro for applications that require reentrant code. The list form defines an area of storage that the execute form uses to store the parameters. Only the PLISTVER parameter may be coded with the list form of the macro.
Use MF=E to specify the execute form of the macro. Use the execute form together with the list form of the macro for applications that require reentrant code. The execute form of the macro stores the parameters into the storage area defined by the list form, and generates the macro invocation to transfer control to the service.
None.
The following table contains hexadecimal return and reason codes, the equate symbols associated with each reason code, and the meaning for each return and reason code.
Return Code | Reason Code | Meaning and Action |
---|---|---|
00 | None | Explanation: IOSCUINF request successful. |
04 | None | Explanation: Find no control units that match the requested criteria. |
08 | xxxx0001 | Explanation: Can not use this service in AR ASC mode. Note: The OUTPUT_AREA
was not returned by the service and should not be released by the
caller.
|
08 | xxxx0002 | Explanation: The selection code is not valid. Note: The OUTPUT_AREA was not
returned by the service and should not be released by the caller.
|
20 | None | Explanation: An unexpected error occurred. Note: The OUTPUT_AREA was not returned
by the service and should not be released by the caller.
|