Previous Topic: @BIND REC ExampleNext Topic: @BIND SUBSCH Syntax


@BIND SUBSCH—helps the run unit

The @BIND SUBSCH statement performs the following:

You must code the @BIND SUBSCH statement as the first DML statement in the program that is passed to CA IDMS/DB at execution time. This statement must be first both logically and physically; you cannot branch to @BIND SUBSCH.

In most cases, specific designation of @BIND SUBSCH within an application program is not necessary since the @COPY IDMS,SUBSCHEMA-BINDS statement (see @COPY IDMS) automatically invokes the necessary @BIND statements.

Note: If program registration is in effect, the @COPY IDMS,SUBSCHEMA-BINDS statement is required to properly assign the programs to the subschema control block. Individual @BIND SUBSCH and @BIND REC statements should not be used if program registration was enabled during system generation.