PGIS gate, REFRESH_PROGRAM function
The REFRESH_PROGRAM function of the PGIS gate is used to inform the loader domain that a new copy of a named program is now available for use in the relocatable program library.
Input Parameters
- COPY
- Indicates whether a NEWCOPY or PHASEIN function is required.
- Values for the parameter are as follows:
- NEWCOPY
- PHASEIN
- PROGRAM_NAME
- The name of the program resource to be refreshed.
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- LOCK_ERROR
- The following values are returned when RESPONSE is EXCEPTION:
- PROGRAM_IN_USE
- PROGRAM_LOADED_CICS_LIFE
- PROGRAM_NOT_DEFINED_TO_LD
- PROGRAM_NOT_DEFINED_TO_PG
- PROGRAM_NOT_FOUND
- REMOTE_PROGRAM
- The values for the parameter are as follows:
- NO_REASON
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- VERSION
- Optional Parameter
- The version of the program after the REFRESH_PROGRAM function call.
- Values for the parameter are as follows:
- NEW
- OLD