MPDD gate, ADD_POLICYSCOPE function

Adds a previously created policy scope (MPPMB) to a running CICS® system. If a policy of the same name and basescope exists, then the chain of MPPMBs anchored in the MPPPB (policy) is searched for a policy scope for the same operation. If one exists an exception is raised (DUPLICATE_POLICYSCOPE), otherwise the new MPPPB is added to the end of the chain. If no policy of the same name and scope exists then NOT_FOUND is returned.

Input Parameters

POLICY_NAME
The name of the policy.
POLICYSCOPE
The token that identifies the policy.

Output Parameters

DUP_BUNDLE_NAME
The name of the bundle that contains the duplicate definition if REASON is DUPLICATE_POLICYSCOPE.
REASON
The following values are returned when RESPONSE is INVALID:
  • INVALID_FORMAT
  • INVALID_FUNCTION
The following value is returned when RESPONSE is EXCEPTION:
  • DUPLICATE_POLICYSCOPE
  • NOT_FOUND
The following value is returned when RESPONSE is DISASTER:
  • ABEND
RESPONSE
Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.


dfhs3_MPDDadd_policyscope.html | Timestamp icon Last updated: Monday, 5 June 2017