![]() ![]() |
|
ESEARCHGenerates an implicit list of records in a file if they contain (or do not contain) one or more occurrences of specified character strings.
SYNTAXESEARCH file-specifier {record-list} {selection-criteria} {sort-criteria} {USING file-specifier} {(options}
SYNTAX ELEMENTSoptions can be one or more of the following:
PROMPTYou will be prompted to supply one or more search strings: STRING: Enter the required character string and press RETURN. This prompt is repeated until only RETURN is pressed. There is no limit on the number of characters that be entered. Do not enter double quotes unless they are part of the string to search.
NOTESWhen the command terminates (unless the "S" option is used), the total number of entries in the generated list is displayed and the list is made available as if it had been generated by a SELECT, GET-LIST or other list-providing command. If you do not specify a sort criteria clause, the record list will be unsorted.
EXAMPLE
> Generates a list of all records in the SALES file which contain the strings ABC or DEF. jQL |