FCFR gate, CLEAR_ENVIRONMENT function

Scan the FRTE chain and find all FRTEs for the specified Environment. Clean up the file control state for this environment.
Cleaning up the file control state consists of the following steps:
  1. Issue END_BROWSE for any active START_BROWSE.
  2. Issue UNLOCK for any active READ_UPDATE or WRITE_MASSINSERT.

Input Parameters

ENVIRONMENT_IDENTIFIER
A token that identifies the caller's environment.
CLEAR_AFTER_ABEND
Optional Parameter
A binary value that indicates whether the request follows a transaction abend, and that the environment must be cleared.
Values for the parameter are:
  • NO
  • YES

Output Parameters

REASON
The following values are returned when RESPONSE is DISASTER:
  • ABEND
  • DISASTER_PERCOLATION
The following values are returned when RESPONSE is EXCEPTION:
  • CLEAR_ENVIRONMENT_FAILED
The following values are returned when RESPONSE is INVALID:
  • INVALID_FORMAT
  • INVALID_FUNCTION
RESPONSE
Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.


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