Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Testing S procedures

&pagelevel(2)&pagelevel

This chapter describes the aids available to the programmer of S procedures for debugging purposes.

Firstly, SDF-P provides two commands that provide the programmer with support in debugging during the test phase; secondly, the programmer can use procedure interruptions to query the procedure’s current status. The commands provided by SDF-P as debugging aids are TRACE-PROCEDURE and MODIFY-PROCEDURE-TEST-OPTIONS.

The TRACE-PROCEDURE command allows you to trace procedure execution step by step. The MODIFY-PROCEDURE-TEST-OPTIONS is used if the setting for logging the procedure is to be modified (for example, to limit logging to specific parts of the procedure that are to be tested).

The next three sections describe the possible applications for the two SDF-P commands separately. Finally, the fourth section points out the options available to the programmer in the event of a procedure interruption.