STRINGS

STRINGS

Top  Previous  Next

 

The STRINGS keyword used in a SEARCH command specifies the file and record from which the search strings are to be taken.

 

 

Format

 

STRINGS file.name record.id

 

 

Without this keyword, the SEARCH command prompts for the strings for which it is to search. The STRINGS keyword allows these strings to be taken from a file.

 

The file should be formatted such that each field represents a separate search string. Take care to avoid blank lines as these will be taken as being search strings.

 

 

Example

 

SEARCH BP STRINGS SRCH.DATA PROGS

 

This command builds a list of records in the BP file containing any of the strings found in the PROGS record of the SRCH.DATA file.

 

 

See also:

NO.CASE, ALL.MATCH, FOR, NO.MATCH, SEARCH