Search Parameter: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "The optional "KEY" and "SEARCH" parameters are used with internal files opened for KEYED processing. After the string expression is evaluated (usually a simple string variable...")
 
No edit summary
 
Line 2: Line 2:


For complete information about the KEY and SEARCH parameters and the "=" and ">=" operators (used for full and partial matches either exactly equal or "next greater"), see more in the [[Index Facility#Finding records with the KEY and SEARCH parameters|Index Facility]].
For complete information about the KEY and SEARCH parameters and the "=" and ">=" operators (used for full and partial matches either exactly equal or "next greater"), see more in the [[Index Facility#Finding records with the KEY and SEARCH parameters|Index Facility]].
Used in these statements:
*[[Read file]]
*[[Restore File]]


<noinclude>
<noinclude>
[[Category:All Parameters]]
[[Category:All Parameters]]
</noinclude>
</noinclude>

Latest revision as of 19:41, 6 August 2013

The optional "KEY" and "SEARCH" parameters are used with internal files opened for KEYED processing. After the string expression is evaluated (usually a simple string variable or constant), the system reads the first record which matches the key field. If a KEY or SEARCH clause is not specified, the system inputs the next record in key sequence.

For complete information about the KEY and SEARCH parameters and the "=" and ">=" operators (used for full and partial matches either exactly equal or "next greater"), see more in the Index Facility.

Used in these statements: