Incorporating Changes to a Called Program

When the message of a program that can be called by INVOKE is modified, every application which uses INVOKE to obtain that data must be recompiled.

The List Invoke command (lstinvk) creates a script that compiles all programs that call a procedure.

To list all programs affected by a change in a called program

  1. At the command line, type

    lstinvk productline [ProgramCode]

    All programs that call the named program using INVOKE are listed. Use the following syntax to send the list to a file:

    lstinvk productline [ProgramCode] > filename

To compile all programs affected by a change in a called program

  1. At the command line, type

    lstinvk -q productline [ProgramCode]

    All programs that call the named program using INVOKE are submitted to the compile queue.