16.10.2015 Views

Getting Startedwith pureQuery

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

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

16<br />

<strong>Getting</strong> Started with <strong>pureQuery</strong><br />

C.4.1 IBM Optim Development Studio ................................................................... 335<br />

C.4.2 Control Center .............................................................................................. 336<br />

C.4.3 Command Line Tools ................................................................................... 338<br />

C.5 The DB2 environment ......................................................................................... 340<br />

C.6 DB2 configuration ................................................................................................ 342<br />

C.7 Connecting to a database ................................................................................... 343<br />

C.8 Basic sample programs ....................................................................................... 345<br />

C.9 DB2 documentation ............................................................................................. 345<br />

Appendix D – Static SQL in DB2 ................................................................................. 347<br />

D.1 What is static SQL? ............................................................................................. 347<br />

D.2 Prerequisites for Static SQL ................................................................................ 348<br />

D.3 Benefits of static SQL .......................................................................................... 348<br />

D.3.1 Predetermined access plan for more consistent performance .................... 348<br />

D.3.2 Package level security ................................................................................. 349<br />

D.4 The mechanics of static SQL with DB2 ............................................................... 350<br />

D.4.1 Precompiling and binding ............................................................................. 352<br />

D.4.2 Precompiling and binding static SQL with <strong>pureQuery</strong> ................................. 352<br />

D.5 Summary ............................................................................................................. 353<br />

Appendix E - Options Files .......................................................................................... 355<br />

E.1 Options files: The big picture ............................................................................... 355<br />

E.2 Content of options files ........................................................................................ 355<br />

E.3 Specifying option files in IBM Optim Development Studio .................................. 357<br />

E.4 Specifying option files on the command line ....................................................... 358<br />

E.4.1 Specifying an options file on the command line, without interfaces or<br />

<strong>pureQuery</strong>Xml files ................................................................................................ 358<br />

E.4.2 Specifying an options file on the command line, in addition to interfaces or<br />

<strong>pureQuery</strong>Xml files ................................................................................................ 358<br />

References ..................................................................................................................... 361<br />

Resources ...................................................................................................................... 363<br />

Web sites ....................................................................................................................... 363<br />

Books ............................................................................................................................. 363

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

Saved successfully!

Ooh no, something went wrong!