SQL/MX 2.x Reference Manual (H06.04+)

Contents
HP NonStop SQL/MX Reference Manual540440-003
x
3. Embedded-Only SQL/MX
Statements (continued)
3. Embedded-Only SQL/MX Statements (continued)
DESCRIBE Statement 3-33
C Examples of DESCRIBE 3-34
COBOL Examples of DESCRIBE 3-35
END DECLARE SECTION Declaration 3-36
C Examples of END DECLARE SECTION 3-36
C++ Examples of END DECLARE SECTION 3-36
COBOL Examples of END DECLARE SECTION 3-36
EXEC SQL Directive 3-37
Considerations for EXEC SQL 3-37
Examples of EXEC SQL 3-37
EXECUTE IMMEDIATE Statement 3-38
Considerations for EXECUTE IMMEDIATE 3-38
C Examples of EXECUTE IMMEDIATE 3-38
COBOL Examples of EXECUTE IMMEDIATE 3-38
FETCH Statement 3-39
Considerations for FETCH 3-41
C Examples of FETCH 3-42
COBOL Examples of FETCH 3-43
GET DESCRIPTOR Statement 3-45
SQL Item Descriptor Area of GET DESCRIPTOR 3-47
SQL Descriptor Area Data Type Declarations of GET DESCRIPTOR 3-50
Considerations for GET DESCRIPTOR 3-52
C Examples of GET DESCRIPTOR 3-52
COBOL Examples of GET DESCRIPTOR 3-53
GET DIAGNOSTICS Statement 3-54
Statement Items of GET DIAGNOSTICS 3-56
Condition Items of GET DIAGNOSTICS 3-56
Considerations for GET DIAGNOSTICS 3-58
C Examples of GET DIAGNOSTICS 3-58
COBOL Examples of GET DIAGNOSTICS 3-59
IF Statement 3-60
Considerations for IF Statement 3-61
C Example of IF Statement 3-61
COBOL Example of IF Statement 3-62
INVOKE Directive 3-63
Considerations for INVOKE 3-65
C Examples of INVOKE 3-66
COBOL Examples of INVOKE 3-68