The requirements for the caller are:
Environmental factor | Requirement |
---|---|
Minimum authorization: | Problem state, with any PSW key. |
Dispatchable unit mode: | Task or SRB |
Cross memory mode: | Any PASN, any HASN, any SASN |
AMODE: | 24- or 31- bit |
ASC mode: | Primary or access register (AR) |
Interrupt Status: | Enabled or disabled for I/O and external interrupts |
Locks: | The caller may hold locks, but is not required to hold any |
Control parameters: | Must be in the primary address space or be in an address/data space that is addressable through a public entry on the caller's dispatchable unit access list (DU-AL). |
If in AR mode, specify SYSSTATE ASCENV=AR before invoking the macro.
None.
Before issuing the IOCINFO 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.
None.
The standard form of the IOCINFO macro is written as follows:
Syntax | Description |
---|---|
name | name: symbol. Begin name in column 1. |
␢ | One or more blanks must precede IOCINFO. |
IOCINFO | |
␢ | One or more blanks must follow IOCINFO. |
IOCTOKEN=ioctoken addr | ioctoken addr: RX-type address or register (2) - (12). |
,DCMINFO=xdcminfo | xdcminfo: RS-type address or register (2) - (12). |
,CSSID=cssid addr | cssid addr: RX-type address or register (2) - (12). |
,MAXMBI=maxmbi addr | maxmbi addr: RS-type address or register (2) - (12). |
,IOFACILITIES=iofc addr | iofc addr: RX-type address or register (2) - (12). |
,IODFINFO=xiodfinfo | xiodfinfo: RS-type address or register (2) - (12). |
,RETCODE=retcode addr | retcode addr: RX-type address or register (2) - (12). |
,RSNCODE=rsncode addr | rsncode addr: RX-type address or register (2) - (12). |
,PLISTVER=xplistver | |
,PLISTVER=IMPLIED_VERSION | Default: IMPLIED_VERSION |
The parameters are explained as follows:
The default is IMPLIED_VERSION. When PLISTVER is omitted, the default is the lowest version which allows all of the parameters specified on the invocation to be processed.
None.
When the system returns control to the caller, GPR 15 (and retcode addr, if you coded RETCODE) contains the return code. For return code X'08', the reason code is in GPR 0 (and rsncode addr, if you coded RSNCODE).
Hexadecimal Return Code | Hexadecimal Reason Code | Meaning and Action |
---|---|---|
00 | Meaning: Successful completion. Action: None. |
|
00 | 00 | Meaning: Successful completion from
a CSSID parameter request. The program is running on a processor that
supports multiple channel subsystems. Action: None. |
00 | 01 | Meaning: Successful completion from
a CSSID parameter request. The program is running on a processor
that does not support multiple channel subsystems and the CSS ID assigned
is a zero. Action: None. |
08 | 01 | Meaning: Program error. An ALET in the
parameter list is not valid. The caller might have inadvertently written
over an area in the parameter list. Action: Check to see if your program inadvertently overlaid the parameter list generated by the macro. |
08 | 02 | Meaning: Program error. The system could
not access the caller's parameter list. Action: Check to see if your program inadvertently overlaid the parameter list generated by the macro. |
08 | 05 | Meaning: Program error. An error occurred
when the system referenced the user-supplied area specified in the
IOCTOKEN parameter. Action: Check to see if your program correctly specified the IOCTOKEN area. |
08 | 09 | Meaning: System error. This reason code
is for IBM diagnostic purposes only. Action: Record the reason code and supply it to the appropriate IBM support personnel. |
08 | 0F | Meaning: An error occurred referencing
the user-supplied area that is specified in the IOFACILITIES parameter. Action: Check to see if your program correctly specified the IOFACILITIES area. |
20 | Meaning: System error. This return code
is for IBM diagnostic purposes only. Action: Record the return code and supply it to the appropriate IBM support personnel. |
|
24 | 07 | Meaning: Program error. The system does
not support the specified parameter. Action: Check the parameters on the IOCINFO macro to make sure they are valid on your release of the system. |