PGDD gate, ADOPT_PROGRAM function
The ADOPT_PROGRAM function of the PGDD gate is used to adopt a public program as an application entry point.
Input Parameters
- APPLICATION_ID
- The 64-character name of the application associated with the program.
- APPL_MAJOR_VER
- The fullword binary value that is the major version of the application associated with the program.
- APPL_MINOR_VER
- The fullword binary value that is the minor version of the application associated with the program.
- APPL_MICRO_VER
- The fullword binary value that is the micro version of the application associated with the program.
- PLATFORM_ID
- The 64-character name of the platform associated with the program.
- PROGRAM_NAME
- The name of the public program resource to be adopted.
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- INSUFFICIENT_STORAGE
- LOCK_ERROR
- The following values are returned when RESPONSE is EXCEPTION:
- PROGRAM_NOT_DEFINED
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.