Loading and running an application from tape or optical media

The Load and Run Media Program (LODRUN) command loads and runs an application written by another user or by a software vendor from tapes or optical media that is supplied by the other user.

When the LODRUN command is run:

  • The media is searched for the user-written program, which must be named QINSTAPP. If tape is used, the tape is rewound first.
  • If a QINSTAPP program already exists in the QTEMP library on the user's system, it is deleted.
  • The QINSTAPP program is restored to the QTEMP library using the Restore Object (RSTOBJ) command.
  • Control of the system is passed to the QINSTAPP program. The QINSTAPP program may be used, for example, to restore other applications to the user's system and run those applications.