Environmental requirements for CQS

Environmental requirements depend on the CQS interface assigned to the client for CQS requests other than CQSREG and CQSDEREG requests.

The following table shows the environment for clients using the authorized CQS interface:

Table 1. Environment for CQS requests (excluding CQSREG and CQSDEREG) using the authorized interface
Environment State
Authorization Supervisor state and PSW key 0-7 (PSW key must match the PSW key when the CQSREG request was issued)
Dispatchable unit mode Task
Cross memory mode Any, however, PASN must equal the primary address space in which the CQSREG request was issued
AMODE 31
ASC Mode Primary
Home address space Any
Locks No locks held
Interrupt status Enabled for interrupts
Control parameters In primary address space

The following table shows the environment for clients using the non-authorized CQS interface:

Table 2. Environment for CQS requests (excluding CQSREG and CQSDEREG) using the non-authorized interface
Environment aspect State
Authorization Problem state or PSW key 8 (PSW key must match the PSW key when the CQSREG request was issued)
Dispatchable unit mode Task
Cross memory mode None (PASN=SASN=HASN)
AMODE 31
ASC Mode Primary
Home address space Address space in which CQSREG was issued
Locks No locks held
Interrupt status Enabled for interrupts
Control parameters In primary address space

The environmental requirements for the CQS register and deregister requests (CQSREG and CQSDEREG) are different from all of the other CQS requests. Authorized clients must issue CQSREG and CQSDEREG requests in the environment shown in the following table.

Table 3. Environment for CQSREG and CQSDEREG requests using the authorized interface
Environment aspect State
Authorization Supervisor state and PSW key 0-7
Dispatchable unit mode Task
Cross memory mode None (PASN=SASN=HASN)
AMODE 31
ASC Mode Primary
Locks No locks held
Interrupt status Enabled for interrupts
Control parameters In primary address space

Non-authorized clients must issue CQSREG and CQSDEREG requests in the environment shown in the following table.

Table 4. Environment for CQSREG and CQSDEREG requests using the non-authorized interface
Environment aspect State
Authorization Problem state or PSW key 8
Dispatchable unit mode Task
Cross memory mode None (PASN=SASN=HASN)
AMODE 31
ASC Mode Primary
Locks No locks held
Interrupt status Enabled for interrupts
Control parameters In primary address space