- Reason code
- Explanation
- 0
- Data is being passed to the read queue exit routine.
- MB_ERR_CMIP_SERVICES_INACTIVE
- CMIP services has terminated. Signal the application program main
task to issue the MIBDisconnect function. No data is passed for this
reason code.
Note: Your read queue exit routine should be coded to ignore
unrecognized reason codes and set the return code to 0.
For a reason code of zero, copy any data presented from
CSA storage to private storage. Then queue the copied data to the
appropriate task. CMIP services examines the return code only if the
read queue exit routine is driven with a reason code of 0. Set register
15 as follows:
- Return code
- Explanation
- 0
- The read queue exit routine was successful.
- 8
- The read queue exit routine had a temporary internal processing
failure; for example, it is out of storage.
CMIP services builds
an ROER if the message passed to the exit is a confirmed request of
type ROIVapdu. The read queue exit routine continues to function.
- 16
- The read queue exit routine had a permanent internal processing
failure.
CMIP services builds an ROER if the message passed to
the exit routine is a confirmed request of type ROIVapdu. It also
builds these ROERs for any subsequent confirmed ROIV requests until
the application program disconnects from the API. The read queue exit
routine does not continue to receive data. It is driven again only
if CMIP services terminates of if application program calls the MIBDisconnect
function and then calls the MIBConnect function again.