16.10.2015 Views

Getting Started with IBM Data Studio for DB2

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

252 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>IBM</strong> <strong>Data</strong> <strong>Studio</strong> <strong>for</strong> <strong>DB2</strong><br />

Procedure Project, right-click STOREDPROCEDURE1, and select Run as shown in Figure<br />

8.15.<br />

Figure 8.15 –Run the stored procedure<br />

A window opens that lets you specify whether you want to commit the changes to the<br />

database and capture database per<strong>for</strong>mance statistics. Accept the defaults and click Run.<br />

When you capture database per<strong>for</strong>mance statistics, the statistics appear in the SQL<br />

Results view.<br />

Note:<br />

When you test your stored procedure, you can create routine test configurations. Test<br />

configurations contain settings that are used when you run the routine. The routine test<br />

configurations can help test routines and validate changes you make to a routine. You<br />

can create multiple test configurations that pass different input values to test different<br />

portions of a routine.<br />

When you run a routine <strong>with</strong> a test configuration, you can compare the result output and<br />

output parameter values <strong>with</strong> a predefined set of values. The results of the comparison<br />

appear in the SQL Results view.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!