Top  Previous  Next


The DEFAULT keyword causes the query processor to parse the command using the default QM option settings.








The DEFAULT keyword allows a query to be written in a form that will be parsed and executed in the same way regardless of any option settings (see the OPTION command). Although it can be included in user written query commands, it is primarily intended for inclusion in queries that form standard parts of QM and might behave incorrectly if options have been set.


The keyword takes effect from the point where it appears in the query sentence. Any option sensitive components appearing in the query prior to this keyword will be parsed in accordance with the current option settings. Note in particular that because query elements appearing in the optional $QUERY.DEFAULTS record are effectively  inserted into the query sentence immediately after the filename but before any other options, the DEFAULT keyword is permitted to be placed before the filename.




See also: