Compiling a single program unit Compiling all program units Compiling all uncompiled program units

How To... 4-125 Restrictions ■ If Oracle Reports Builder cannot find the specified library, a warning will be raised when you accept the dialog box, save the report, or open the report. If you try to run the report or compile the PLSQL in it, an error will be raised. ■ The Attached Libraries list is saved. The next time you open the report or library the list will have the same contents it did when you last saved the report. ■ If an external library references another library, you must attach both libraries to the report even if the first library already has the second one attached.

4.13.5.6 Converting external PLSQL libraries

To convert one or more PLSQL libraries from one storage format to another on Windows: ■ On the command line, type ORACLE_HOME\BIN\rwconverter, followed by the report name and desired arguments. See the Reference section of the Oracle Reports online Help for more information about rwconverter.

4.13.6 Compiling and running program units

This section provides procedures for the following tasks that you may perform as you compile and run program units: ■ Compiling a single program unit ■ Compiling all program units ■ Compiling all uncompiled program units See also Section 2.6.4, About program units

4.13.6.1 Compiling a single program unit

To compile a single program unit:

1. In the Object Navigator, under the Program Units node, click the program unit

you want to compile PLSQL subprogram, report trigger, formula, group filter, format trigger, or validation trigger.

2. Choose Program Compile Selection to compile the selected program unit,

regardless of its current compilation status.

3. In the Compile dialog box, click any error to navigate to the source of the error in

the program unit. Note: An uncompiled program unit is indicated by an asterisk after its name under the Program Units node in the Object Navigator. When you make changes to a program unit, dependent program units lose their compiled status. Tip: Check for missing semicolons at the end of statements, or misspelled syntax. 4-126 Oracle Reports Users Guide to Building Reports

4.13.6.2 Compiling all program units

To compile all program units:

1. In the Object Navigator, click the report or library for which you want to compile

all program units including PLSQL subprograms, report triggers, formulas, group filters, format triggers, and validation triggers.

2. Choose Program Compile All to compile all program units, regardless of their

current compilation status.

3. In the Compile dialog box, click any error to navigate to the source of the error in

the program unit.

4.13.6.3 Compiling all uncompiled program units

To compile all uncompiled program units: 1. In the Object Navigator, click the report or library for which you want to compile all uncompiled program units including PLSQL subprograms, report triggers, formulas, group filters, format triggers, and validation triggers.

2. Choose Program Compile Incremental to compile all uncompiled program

units.

3. In the Compile dialog box, click any error to navigate to the source of the error in

the program unit.

4.14 Debug a Report

This section provides procedures for the following tasks that you may perform as you debug a report: ■ Debugging a report ■ Running a report in debug mode ■ Setting a breakpoint ■ Setting a debug trigger Note: An uncompiled program unit is indicated by an asterisk after its name under the Program Units node in the Object Navigator. When you make changes to a program unit, dependent program units lose their compiled status. Tip: Check for missing semicolons at the end of statements, or misspelled syntax. Note: An uncompiled program unit is indicated by an asterisk after its name under the Program Units node in the Object Navigator. When you make changes to a program unit, dependent program units lose their compiled status. Tip: Check for missing semicolons at the end of statements, or misspelled syntax.