(Contents)(Previous)(Next)

The Menu Item 'Test'

After selecting the menu item 'Test' the following pulldown menu appears:

The function group of the menu item 'TEST' serves to display and set the test options. Here all settings can be found which are allowed for translation and during the execution of modules.

In the example above the default setting is represented as the user sees it when he has not yet modified any options. All settings remain valid up to the next modification. The setting is changed by positioning the cursor to a test option and pressing the key. The new setting is displayed in the message line.

'Test/DEBUG'

The DEBUG option allows modules to be compiled in such a way that they can be processed with the SQL-PL debugger. 'DEBUG on' has the effect that all modules compiled subsequently can be debugged (state 'DEBUG' in the module list) and that the debugger is called when starting with RUN. Default is DEBUG off.

(Command: 'DEBUG')

'Test/SQL CHECK'

The SQL CHECK option allows the automatic check of the SQL syntax to be enabled or disabled for translation. The SQL CHECK option should always be disabled, when modules are compiled that access tables which are only created at runtime.

(Command: 'SOPT')

'Test/USAGE'

The USAGE option serves to enable or disable the maintenance of usage information in the Data Dictionary. When DB procedures and triggers are compiled, the usage information is maintained even with disabled USAGE option.

(Command: 'USAGE')

'Test/MONITOR'

The MONITOR option enables the user to have information about the execution of a program displayed. When the monitor is switched on, the results are displayed directly after the RUN execution of a program has terminated.

The following information is provided:

- The total runtime of the program.

- The waiting time for user inputs (think).

- The number of database orders for the program.

- The time required for these (only with MONITOR ON).

- The number of DB orders of the SQL-PL system.

- The time required for these.

- The number of CALL and SWITCH calls.

- The hit rate in the main memory in per cent.

- The number in main memory.

- The number of displaced routines and forms.

(Command: 'MONITOR')

'Test/EDIT WARNING'

With enabled EDIT-WARNING option a message is output when a program is called which has one or more modules in the EDIT state. In such a case the PROD version of these modules is accessed which may lead to unexpected effects. The program is not executed, until the warning has been confirmed.

(Command: 'EWARN')

'Test/LIT CHECK'

If LIT-CHECK is ON, when storing, LITERAL entries are searched and a check is made as to whether these have already been entered in the literal table. If the entry is missing, a form for defining the literal is displayed.

(Command: 'LITERAL')


(Contents)(Previous)(Next)