ONFIELD
The ONFIELD parameter determines whether ON phrases that refer to fields not present in the request are ignored or cause the request to terminate. Allowing ON phrases for absent fields enables user selections at run time to determine which elements are included in each execution of the request.
Note that any field used must be present in the Master File for the data source or the following message is generated and execution terminates:
The syntax is:
SET ONFIELD = {ALL|IGNORE}ON TABLE SET ONFIELD {ALL|IGNORE}
where:
Issues a message and terminates execution when a field referenced in an ON phrase is not present in the request. ALL is the default value.
Ignores ON phrases that reference fields that are not present in the request as well as ON phrases that include options not supported by the type of field specified.