Dispatcher Xpi Functions; Synchronization Protocols For Suspend And Resume Processing - IBM SC34-6814-04 Customization Manual

Cics transaction server for z/os
Table of Contents

Advertisement

This command is threadsafe.
LDAP_RESPONSE(name4)
LDAP_SESSION_TOKEN(name4)
RESPONSE and REASON values for UNBIND_LDAP:
RESPONSE
OK
EXCEPTION
DISASTER
INVALID
KERNERROR
PURGED
Note: For more detail, refer to the explanation of RESPONSE and REASON in

Dispatcher XPI functions

There are six XPI dispatcher functions. These are the DFHDSSRX calls
ADD_SUSPEND, SUSPEND, RESUME, DELETE_SUSPEND, and WAIT_MVS, and
the DFHDSATX call CHANGE_PRIORITY.
Usage of these dispatcher calls is very limited. Check the details supplied for each
exit in Chapter 1, "Global user exit programs," on page 3 before using any
functions.
Note:

Synchronization protocols for SUSPEND and RESUME processing

This section describes the protocols that must be observed by users of XPI
SUSPEND and RESUME processing, so that task purging can be handled
effectively.
specifies the return code that is sent by the LDAP API.
the name of the fullword token that was returned by the BIND_LDAP function.
"Making an XPI call" on page 308.
1. You must issue an ADD_SUSPEND call to create a suspend token
before you issue a SUSPEND or RESUME call.
2. If a suspended task is canceled, the SUSPEND fails with a RESPONSE
value of 'PURGED' and a REASON value of 'TASK_CANCELLED'. A
corresponding RESUME call returns with a RESPONSE value of
'EXCEPTION' and a REASON value of 'TASK_CANCELLED'.
3. If a suspended task is timed out, the SUSPEND fails with a RESPONSE
value of 'PURGED' and a REASON value of 'TIMED_OUT'. A
corresponding RESUME call returns with a RESPONSE value of
'EXCEPTION' and a REASON value of 'TIMED_OUT'.
4. Dispatcher protocols require that you issue a RESUME even if the
SUSPEND was purged (due to task cancel or time-out). You must issue
one and only one RESUME for each SUSPEND call.
REASON
None
INVALID_TOKEN
LDAP_INACTIVE
None
None
None
None
Chapter 3. The user exit programming interface (XPI)
331

Advertisement

Table of Contents
loading

Table of Contents