Finding a string in HFS files

You can search HFS files in the same way that you find strings in z/OS® files as described in Finding and changing data in multiple PDS members.

A searched file can be interpreted as text or binary. If the Binary mode option is not selected, text mode is assumed and records are determined by delimiters. If you select the Binary mode option, the records are determined by record size defined in reclen, or by the default, 80 bytes.

If you specify a path to the HFS directory as the input file, File Manager displays the directory list. You can select one or more HFS files for processing. If you select a subdirectory, File Manager displays a new list, allowing selection on the next level. To return to the previous list, press the Exit function key (F3). In this way, you can navigate through the directories and choose the files to be processed. This allows you to build a process list which you can further refine and search.

To display a pop-up window with the absolute path name (including the complete file name which may be shortened on the list), position the cursor against the file name and press Enter.

If the directory is specified in batch, all regular files from this directory, but not from sub-directories, are searched.

The output from the find process does not differ significantly from the output produced when you search data sets. The only difference is the words "path" and "file" are used instead of "data set" and "member" respectively.

Related topics