Using an autoinstall program
Use the default autoinstall control program or you can write your own program, by using the source code of the default program and the customization examples as a basis.
About this task
If you choose to have your autoinstall control program started for consoles, follow these steps:
Procedure
- Use the default autoinstall control program for terminals (DFHZATDX or DFHZATDY), or write your own program, by using the source code of the default program and the customization examples as a basis. You can have only one active autoinstall control program to handle terminals, consoles, and APPC connections. Specify the name of the active program on the AIEXIT system initialization parameter. Your autoinstall program must be able to recognize the console INSTALL and DELETE parameter lists and return a model name, termid, and return code.
- Enable the CICS® AUTOINSTALL function for consoles, either by specifying AICONS=YES as a system initialization parameter, using the Attributes tab from the CICS Explorer® Regions operations view, or by issuing a SET AUTOINSTALL CONSOLES(PROGAUTO) command.
- Specify the AIEXIT system initialization parameter to define your autoinstall control program to CICS.
Results
If the AUTOINSTALL function has been enabled, CICS starts
your autoinstall control program when the following conditions are
satisfied:
- An autoinstall INSTALL request is being processed.
- An autoinstall request has previously been accepted by the autoinstall control program, but the subsequent INSTALL process has failed.
- The delay period since the console was last used has elapsed.