The autoinstall control program at DELETE

To provide symmetry of control over the autoinstall process, the autoinstall control program is also invoked when an autoinstalled APPC connection is deleted.

Invoking the control program at DELETE enables you to reverse the processes carried out at the INSTALL event. For example, if the control program at INSTALL incremented a count of the total number of automatically installed resources, then the control program at DELETE would decrement that count.

Input to the program is by a communication area, addressed by DFHEICAP. The layout of the communication area is shown in Figure 1.
Figure 1. Autoinstall control program's communication area at DELETE. For APPC connections initiated by BIND requests.
 
Fullword 1             Standard Header
  Byte  1              Function Code        (X'F5' or X'F6')
  Bytes 2 - 3          Component Code       Always "ZC"
  Byte  4              Reserved             Always X'00'
Fullword 2             SYSID of deleted connection
Fullword 3             NETNAME of deleted connection
  Bytes 1-2            NETNAME length
  Bytes 3-10           NETNAME
 
The Function Code byte (byte 1 of fullword 1) indicates why the user program has been invoked:
X'F5'
After deletion of a parallel-session APPC connection that was initiated by a BIND.
X'F6'
After deletion of a single-session APPC connection that was initiated by a BIND.
Note: The value X'F1' represents the deletion of a local terminal, or an APPC single-session device that was autoinstalled via a CINIT request. For more information, see The autoinstall control program at DELETE. The value X'FA' or X'FB' represents the deletion of a shipped terminal or connection. For more information, see Autoinstall control program at DELETE. The value X'FC' represents the deletion of a Client virtual terminal. For more information, see The autoinstall control program at DELETE.