This week’s API by Example from Carsten Flensburg provides program CBX103, which scans a file for a string and prints a report listing the field, field attributes, and the position within the field for all the records in which the search string appears. A small test program, CBX103T, lets you test the main by entering a file and library name, search string, and whether the search is case-sensitive or not.