By default, the attach request is unconditional. Error conditions that can occur are described below:
The issuing program can request return of control to avoid a delay or an abend by using the COND parameter.
After completion of the #ATTACH request, the value returned to register 15 indicates the outcome of the operation. The following is a list of the Register 15 values and the corresponding meaning:
The request has been serviced successfully.
The request cannot be serviced because the maximum number of tasks have already been attached; no new tasks can currently be attached.
The request cannot be serviced due to an invalid task code.
The request cannot be serviced due to a task security violation.
The task cannot be attached because the maximum concurrent task limit (for that task code) has been exceeded.
Additionally, the values in two user-defined registers or fullwords contain information:
|
Copyright © 2014 CA.
All rights reserved.
|
|