Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
ALLBASE/SQL Advanced Application Programming Guide: HP 9000 Computer Systems

Chapter 2 Flagging Non-Standard SQL with the FIPS Flagger

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The United States government has adopted ANSI X3.135-1989, Database Language SQL, as the database language to be used by all federal departments and agencies. This SQL standard, known as Federal Information Processing Standard 127.1 (FIPS 127.1), requires that all syntax and processing that does not conform to the standard be flagged. In general, flagging provides a means of identifying SQL elements that may have to be modified if an application is to be moved from a nonconforming to a conforming SQL processing environment. And it aids in writing code that is portable between various SQL databases (such as tools code).

ALLBASE/SQL provides a FIPS flagger option for use when preprocessing. Refer to the appropriate preprocessing mode, presented earlier in this chapter, for FIPS flagger syntax. This section documents non-conformant features specific to embedded SQL programming. In addition, the "Standards Flagging Support" appendix in the ALLBASE/SQL Reference Manual lists non-conformant syntax and features, and the ALLBASE/ISQL Reference Manual discusses setting the FIPS flagger in ISQL. The following topics are presented here:

  • Coding Tips

  • Setting the ANSI Compiler Directive

  • Identifying Non-Standard Features

  • Understanding Implicit Updatability

  • Declaring the SQLCA

  • Secondary Reference to Non-Standard SQL

  • Host Variable Data Type Declarations

  • Host Variable Name Length Standards

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.