LDLD gate, REFRESH_PROGRAM function
The REFRESH_PROGRAM function of the LDLD gate is used to inform the loader domain that a new version of the program has been cataloged, and that this version of the named program should be used for all future ACQUIRE requests.
Input Parameters
- PROGRAM_NAME
- specifies the name of the required program.
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- LIBRARY_IO_ERROR
- LOOP
- OS_STORAGE_SHORTAGE
- The following values are returned when RESPONSE is EXCEPTION:
- PROGRAM_NOT_DEFINED
- PROGRAM_NOT_FOUND
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- NEW_VERSION_FOUND
- Optional Parameter
- indicates whether a new version of the program has been found.
- Values for the parameter are:
- NO
- YES