Mainframe Express provides facilities for finding your way around programs:
You can search in a number of ways for specific text within a program and look for data items, procedures and COBOL Divisions and Sections. There are ways of:
These features operate purely on a text basis - they are not concerned with whether or not you are searching for a data item or a procedure. For example, you can:
If you are debugging a program and see a data item or procedure
referenced somewhere, you can easily move to the definition of the
data item or procedure. This is useful if all you are interested in is
a data item's PICTURE
clause.
Find COBOL item highlights all the lines where a data item or procedure is used. The prefix area of each highlighted line also shows a tag that indicates how the data item or procedure is used on that line (for example, if it is defined, referenced or modified).
To ease the problem of navigating around a large program with which you might not be very familiar, you can specify that the cursor is positioned on the first line of a Section or Division in a COBOL program, such as the Procedure Division, Working-Storage Section or File Section.
If you cannot remember all of the name of a data item or procedure, type as much as you can remember and ask for a list of suggestions from which to choose. You must have compiled the program before you can use this feature.
Mainframe Express enables you to scan a number of different files for search text, which is useful if you know that a phrase occurs somewhere in your files but you don't know which files. Using this feature, known as Find in Files, is similar to searching for text in the current file, with the following exceptions:
Searching is not restricted to those files in the current project.
You can double-click one of these lines to position the cursor on the relevant line in the source.
Copyright © 2001 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names
used herein are protected by international law.