SEARCH

Man Page Index


The SEARCH command is used to create a list of all records in a file which contain one or more text sequences.

 

SYNTAX

SEARCH filename {(N)}
First String to search for : string
Second String to search for : string
...

 

SYNTAX ELEMENTS

filename is the name of the file to be searched.

string is the text string to search for. You will be prompted for any number of strings to search for. Press the <Enter> key only to finish entering search strings.

If the (N) option is used then only items not containing the specified search strings are selected.

 

NOTES

The SEARCH command will scan the file specified by filename looking for records which contain the specified text string(s). If it finds any records that match the criteria, it will create a select list containing the record keys. This list then becomes the default select list and will be inherited by the next jBASE command or program.


LIST