When you supply a QINSTAPP program, you are responsible for writing and supporting it. The program can be designed to accomplish many different tasks. For example, the program could:
Restore and run other programs or applications.
Restore a library.
Delete another program or application.
Create specific environments.
Apply fixes to existing applications.
The QINSTAPP program is run only once each time the LODRUN command is entered. The LODRUN command has only one mandatory parameter (DEV), which specifies the device from which the QINSTAPP program is restored.
Refer to IBM documentation for more detail on the LODRUN command.