Locating Sections

Various methods are available for locating references to sections within an entire database as well as within a program.

Finding Call Section References

You can generate a list of all the references to a particular section. The list applies only to Application Engine programs defined within a single database.

To locate section references:

  1. Open the program containing the shared, or called, section.

  2. Select Edit, Find References.

    The Find Definition References dialog box appears.

  3. On the Call Sections tab, select the appropriate section from the Section name drop-down list or enter the name.

    By default, the current program name and MAIN section appear in the dialog box.

  4. Click OK.

  5. In the output window, view the generated list.

    The output window lists the programs and sections that call a particular program. This list also shows the total call references made to a particular section. Call sections within the current program appear first in the list.

    Double-click an item in the output window list to automatically navigate the definition view to that calling section.

Finding Sections Within the Current Program

Within large and complicated Application Engine programs, such as those upgraded from a previous release, having more than 100 sections is not uncommon. Rather than scrolling through a large program, use the Go To Section feature.

Note:

This feature applies only to the current program.

To automatically navigate to a selected section:

  1. Select Edit, Go To Section.

    The Find Definition References dialog box appears.

  2. On the Go To Section tab, select the appropriate section from the Section name drop-down list or enter the name of the section.

  3. Click OK.

    The Definition view scrolls to the first occurrence of the section with the name you selected.