SQL/MX 3.2.1 Programming Manual for C and COBOL (H06.26+, J06.15+)
Contents
HP NonStop SQL/MX Release 3.2.1 Programming Manual for C and COBOL—663854-005
xiii
Figures
Figures
Figure 6-1. Using a Static SQL Cursor in a C Program 6-2
Figure 6-2. Using a Static SQL Cursor in a COBOL Program 6-3
Figure 9-1. Using Dynamic SQL in a C Program 9-3
Figure 9-2. Using Dynamic SQL in a COBOL Program 9-4
Figure 10-1. Using SQL Descriptor Areas in a C Program 10-12
Figure 10-2. Using SQL Descriptor Areas in a COBOL Program 10-13
Figure 11-1. Using a Dynamic SQL Cursor in a C Program 11-2
Figure 11-2. Using a Dynamic SQL Cursor in a COBOL Program 11-3
Figure 14-1. Coding Transaction Control Statements in a C Program 14-1
Figure 14-2. Coding Transaction Control Statements in a COBOL Program 14-2
Figure 15-1. Compiling Embedded SQL C/C++ Programs With Embedded Module
Definitions 15-3
Figure 15-2. Compiling Embedded SQL C/C++ Programs With Module Definition
Files 15-6
Figure 15-3. c89 Generating Annotated Source With Embedded Module
Definitions 15-49
Figure 15-4. c89 Generating Module Definition Files 15-52
Figure 16-1. Compiling Embedded SQL COBOL Programs With Embedded Module
Definitions 16-3
Figure 16-2. Compiling Embedded SQL COBOL Programs With Module Definition
Files 16-6
Figure 16-3. ecobol or nmcobol Generating Annotated Source With Embedded
Module Definitions 16-41
Figure 16-4. ecobol or nmcobol Generating Module Definition Files 16-44
Figure 17-1. Module Name Length 17-12
Tables
Table 2-1. MODULE Directive 2-6
Table 2-2. Embedded SQL Statements in SQL Declare Section 2-6
Table 2-3.
Nonexecutable SQL Statements 2-7
Table 2-4.
Executable SQL Statements 2-8
Table 3-1. Corresponding SQL, C Host Variable Data Types, and Translated C
Declarations for NUMERIC, DECIMAL, PIC, SMALLINT, and LARGEINT
Data Types 3-9
Table 3-2.
Corresponding SQL, C Host Variable Data Types, and Translated C
Declarations for Float Data Types 3-10
Table 3-3. Corresponding SQL, C Host Variable Data Types, and Translated C
Declarations for Date-Time Data Types 3-11
Table 3-4.
Corresponding SQL, C Host Variable Data Types, and Translated C
Declarations 3-12










