Sunday, January 18, 2009

DB2 SQL PL or Carpenters Complete Guide to the SAS Macro Language

DB2 SQL PL: Essential Guide for DB2 UDB on Linux, UNIX, Windows, i5/OS and z/OS

Author: Janmohamed

  • IBM's definitive guide to writing DB2 SQL PL stored procedures, triggers, UDFs, and dynamic compound SQL
  • Fully updated to reflect the entire DB2 UDB product family, and new SQL PL improvements for Windows, UNIX, Linux, iSeries, and zSeries
  • Presents expert tips and best practices drawn from extensive experience in real customer environments
  • Covers everything from basic program structure through advanced techniques
  • Includes up-to-the-minute coverage of optimization and troubleshooting

Using the IBM DB2 SQL Procedural Language (SQL PL), programmers can drive major improvements in database performance, manageability, and time-to-market. Now, IBM's own experts present the definitive guide to DB2 SQL PL development on any platform: Windows, UNIX, Linux, iSeries, or zSeries.

DB2 SQL PL, Second Edition shows developers how to take advantage of every facet of the SQL PL language and development environment. The authors offer up-to-the-minute coverage, best practices, and tips for building basic SQL procedures, writing flow-of-control statements, creating cursors, handling conditions, and much more. Along the way, they illuminate advanced features ranging from stored procedures and triggers to user-defined functions.

The only book to combine practical SQL PL tutorials and a detailed syntax reference, DB2 SQL PL, Second Edition draws on the authors' unparalleled expertise with SQL PL in real business environments. Coverage includes

  • Using SQL PL to improve manageability and performance, while clearly separating DBA and development roles
  • Writing more efficient stored procedures, triggers, user-defined functions (UDFs), and dynamic compound SQL
  • Identifying SQL PL performance bottlenecks--and resolving them
  • Leveraging new language enhancements for Windows, UNIX, and Linux: improved table function support, session based locking, nested save points, new prepare options, and more
  • Using new features for iSeries V5R3: built-in string and date/time manipulation functions, SEQUENCE objects, and more
  • Utilizing zSeries Version 8's integrated stored procedures debugging and improved SQL Conditions support
  • Mastering DB2 Development Center, the unified development environment for creating DB2 stored procedures

Whether you're developing new SQL PL applications, migrating or tuning existing applications, or administering DB2, you'll find this book indispensable.



Table of Contents:
Ch. 1Introduction1
Ch. 2Basic SQL procedure structure11
Ch. 3Overview of SQL PL language elements37
Ch. 4Using flow of control statements63
Ch. 5Understanding and using cursors and result sets93
Ch. 6Condition handling125
Ch. 7Working with dynamic SQL175
Ch. 8Nested SQL procedures193
Ch. 9User-defined functions and triggers215
Ch. 10Leveraging DB2 application development features271
Ch. 11Deploying SQL procedures, functions, and triggers299
Ch. 12Performance tuning325
Ch. 13Best practices355
App. AGetting started with DB2371
App. BInline SQL PL for DB2 UDB for Linux, UNIX, and Windows411
App. CBuilding from the command line419
App. DUsing the DB2 development center431
App. ESecurity considerations in SQL procedures463
App. FDDL473

New interesting book: Expectativas Pacientes Gerentes:a Arte de Achado e Cuidado de Pacientes Leais

Carpenter's Complete Guide to the SAS Macro Language

Author: Art Carpenter

Here's your macro guide from %MACRO to %MEND! Learn and understand the basic composition and operation of the SAS macro facility and the SAS macro language. Carpenter packs this book with examples that illustrate how to write SAS macros, convert SAS code to macros, define macro variables and pass macro parameters, plus much more to help you understand how to use macro statements within SAS macros. This complete guide includes the following topics: macros that interface with the DATA step, how to write dynamic code, utility macros that control your operating environment, SAS System AUTOCALL macros, macro references and Screen Control Language (SCL), and how to write and use macros efficiently. Carpenter's book is a must-have for both new and experienced SAS macro users. Knowledge of base SAS is expected, along with a desire to learn more! Supports releases 6.09 and higher of SAS software.

Booknews

Introduces the SAS System Macro Facility to experienced macro programmers with a good general grounding in base SAS software. Explains how to accomplish such tasks as writing SAS macros, converting SAS code to macros, and using macros to generalize SAS programs to maximize their usefulness. The first two (of three) parts can serve as a text for a course or self-study. Annotation c. Book News, Inc., Portland, OR (booknews.com)



No comments:

Post a Comment