MODSRCH

Read syntax diagramSkip visual syntax diagram
   .-MODSRCH--=--NEVER-----.   
>>-+-----------------------+-----------------------------------><
   |             .-NEVER-. |   
   '-MODSRCH--=--+-------+-'   
                 +-FIRST-+     
                 '-LAST--'     

Specifies when the INQUIRE APPSTAT and INQUIRE STATUS macroinstructions will use this model definition. The VTAM® containing the application that issued the INQUIRE first searches its tables for a previously defined application. If one is not found, it searches for a local model that can satisfy the request.

Note: If you plan to use model application program definitions with TSO/VTAM, then you must code MODSRCH=FIRST on the TSO application definition statement which represents the subordinate TSO APPLs. For more information about MODSRCH, see z/OS Communications Server: SNA Network Implementation Guide.
MODSRCH=FIRST
Specifies that VTAM should use this model if it is an appropriate match, and not search the network for the specified name. For example, because the OPEN ACB macroinstruction can use a model definition, you could specify MODSRCH=FIRST so this model can be found by an application issuing INQUIRE APPSTAT to determine whether an OPEN ACB will follow.
MODSRCH=LAST
Specifies that VTAM should use this model definition only if all other hosts in the network report that the application was not found.
MODSRCH=NEVER
Specifies that VTAM should never use this model to satisfy an INQUIRE macroinstruction.