Previous Topic: Format of INCLUDE StatementsNext Topic: Example


Model Invocation Rules

The model name is the 1 to 8-character PDS member name of the model. You can use keyword substitution when specifying the name, but this is usually not done.

Models cannot be nested more than 50 models deep.

Models can be recursively invoked. That is, a model can include itself. In some situations this might be useful. It is the responsibility of the model writer to prevent endless recursion. If you accidentally write a model that invokes itself forever, CA‑PanAPT halts the model with an error once the model nesting level exceeds 20 models deep.