Limiting the search to specified columns

By default, in SNGL or TABL display formats, if you enter the CHANGE or FIND command without specifying any field references, FM/IMS searches all the visible fields based on the template attributes for each field.

You can override this method of searching by specifying a pair of column numbers, indicating the first and last columns to be searched when you enter the primary command.
Note: When you specify a column range, all fields in the segment type are searched as if they were character fields. For numeric fields, This can cause unexpected results.

The string is found if it is completely contained within the specified column range.

The following command finds the next segment containing the string Exact within columns 1 to 20.

FIND 'Exact' 1 20

Related topics