Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Migration Guide

Programming and compilation considerations

When you use the PL/I SQL Preprocessor the PL/I compiler handles your source program containing embedded SQL statements at compile time, without your having to use a separate precompile step. Although the use of a separate precompile step continues to be supported, use of the PL/I SQL Preprocessor is recommended. Interactive debugging with Debug Tool is enhanced when you use the PL/I SQL Preprocessor because you see only the SQL statements while debugging (and not the generated PL/I source).

In addition, using the PL/I SQL Preprocessor lifts some of the DB2 precompiler's restrictions on SQL programs. When you process SQL statements with the PL/I SQL Preprocessor, you can now

The PL/I compiler listing includes the error diagnostics (such as syntax errors in the SQL statements) that the PL/I SQL Preprocessor generates.

To use the PL/I SQL Preprocessor, you need to do the following things:


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)