VCURULE


1 VCURULE=
2.1! T
2.1 C
2.1 R
2.1 S
VCURULE
Specifies the view or criteria set usage rule.
C
A view or criteria set can be used with a database only if it provides one or more layouts for each segment in the database. If it does provide one or more layouts for each segment in the database, the function uses a composite view or criteria set that is created by adding the view or criteria set’s selection information to the static template for the database.
R
A view or criteria set can be used with a database only if it has the same fields as the static template for the database. If it does have the same fields as the static template for the database, the function uses the view or criteria set that is specified by the user.
S
A view or criteria set can be used with a database only if it provides one or more layouts for each segment in the database. If it does provide one or more layouts for each segment in the database, the function uses the view or criteria set specified by the user.

The static template for the database is not used.

T
A view or criteria set can be used with a database only if these two conditions are true:
  • The view or criteria set provides one or more layouts for each segment in the database.
  • The view or criteria set was created for the database OR the view or criteria set and the static template for the database have the same fields.

If the view or criteria set satisfies these conditions, the function uses the view or criteria set that is specified by the user.

Note: VCURULE=T is the default setting, but VCURULE=C is the recommended setting.

This parameter is optional. If it is not specified on the FMN1POPI macro statement, FM/IMS uses either the value specified on the FMN1POPD macro statement (if specified on that statement), or T (otherwise).

The user cannot override the value you specify for this parameter.