Autoinstall programs started by EXEC CICS LINK commands
Autoinstall programs have a relationship to the dynamic routing program. When the autoinstall control program is started because there is no installed definition of a program named on an EXEC CICS LINK command without a SYSID, the autoinstall control program can install a different definition depending on the circumstances.
The autoinstall control program can install the following definitions:
- A local definition of the server program
- CICS® runs the server program on the local region.
- A definition that specifies REMOTESYSTEM(remote_region) and DYNAMIC(NO)
- CICS ships the LINK request to the remote region.
- A definition that specifies DYNAMIC(YES)
- CICS starts the dynamic routing program to route
the LINK request. Note: The DYNAMIC attribute takes precedence over the REMOTESYSTEM attribute. Therefore, a definition that specifies both REMOTESYSTEM(remote_region) and DYNAMIC(YES) defines the program as dynamic, instead of located on a particular remote region. In this case, the REMOTESYSTEM attribute names the default server region passed to the dynamic routing program.
- No definition of the server program
- CICS starts the dynamic routing program to route
the LINK request. Note: This situation assumes that the autoinstall control program does not install a definition. If no definition is installed because autoinstall fails, the dynamic routing program is not started.