Selection statement syntax


The following syntax rules apply to all the keyword selection statements:

  • Selection statements cannot extend past column 71.
  • Selection statements can begin in any column before column 71.
  • Some selection statements are limited to one operand. Check individual selection statements for syntax rules.
  • Multiple selection operands are separated by commas.
  • Continuation is not allowed for any selection statement. If an operand does not fit in a particular statement, you must code another selection statement using the selection operator specified in the first one. For example:

    TERMNAME=LLTER01,LLTER09,LLTER15,LLTER26,LLTER32
    TERMNAME=LLTER05,LLTER11
  • There is a limit to the number of criteria of a particular type that you can specify. Check individual selection statements for this limitation.
  • Selection statements are validated for syntax and logically consistent field definitions (field size, numeric content, or numeric range). See the specification section of each criteria definition for exact requirements.
  • Each statement is checked for validity until an error is encountered. No indication is provided of multiple errors in a single statement.

Note

The following pairs of keyword parameters have the logical operator OR applied if they are submitted in the same run of PRSSELEC:

  • TERMNAME and TERMQUAL
  • PROGNAME and PROGQUAL
  • CUSTNAME and CUSTQUAL
  • PLANNAME and PLANQUAL
  • TRANNAME and TRANQUAL
  • DBDNAME and DBDQUAL
  • ROUTNAME and ROUTQUAL


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*