Previous Topic: Set Up the Batch Job for VTAM Modeling Statement SupportNext Topic: Use the *TPX,MDL Statement


Format

The format of the *TPX,MDL statement is:

*TPX,MDL, initial value,type,count,order; initial value,type,count,order;… initial value,type,count,order

Each grouping of initial value through order is a control set. Each control set is matched positionally to a wildcard (* or ?) in the VTAM model statement. Each wildcard requires a control set.

There can be up to seven control sets on a *TPX,MDL statement.

Parameters on the statement are as follows:

Parameter

Description

initial value

The character string that will be concatenated with the LU name mask on the VTAM Model APPL statement. The total length of the LU name generated is the sum of the length of this string and the other initial values for this model statement plus the length of LU name mask less the length of the variable placeholders contained within LU name mask. The maximum length of the resultant LU name cannot exceed eight characters.

type

The incrementing method used to generate the VTAM APPL statements. When alphabetic characters are called for when forming the substitution string in any of the incrementing methods, only uppercase characters are used. Valid values are:

A—Alpha. Only alphabetic characters A through Z are used.

N—Numeric. Only numeric values 0 through 9 are used.

B—Alphanumeric. Values A though Z are used and then 0 through 9.

H—Hexadecimal. Values 0 through 9 are used and then A through F.

count

The number of VTAM APPL statements to be generated from the model (in decimal). The maximum value is 9999. Additional statements can be generated by specifying another *TPX,MDL and VTAM Model statements specifying the next initial value and increment.

order

The order in which the initial values are incremented during VTAM APPL statement generation. This parameter is only required if there is more than one control set specified on the *TPX,MDL statement. All values are set to their initial values and the control set marked 1, in the order parameter, is incremented. After this value is incremented to the count limit, it is reset to its initial value and the control set with an order parameter of 2 is incremented. This continues until the control set with the highest increment order value is exhausted or a maximum of 9999 statements have been generated. The highest value allowed for order is 7.