When the function generates a template

The VCURUDT parameter specifies the usage rules that apply to views and criteria sets when the function generates a template for the database.

Use the VCURUDT parameter on the FMN1POPI macro statement to set one of the following values:

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 template that was generated for the database. So, the generated template is used to format the database segments into their individual fields.
R
A view or criteria set can be used with a database only if it has the same fields as the template that was generated for the database. If it does have the same fields as the generated template, the function uses the view or criteria set that is specified by the user. So, the view or criteria set is used to format the database segments into their individual fields. However, as the view or criteria set and the generated template have the same fields, this is equivalent to using the template to format the database segments into their individual fields.

VCURUDT=C is the default setting and the recommended setting.