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
ix
14. Transaction Management
Lost Open Error (8574) 13-20
Occurrences of the Lost Open Error 13-20
Recovering From the Lost Open Error 13-21
14. Transaction Management
Transaction Control Statements 14-1
Steps for Ensuring Data Consistency 14-1
Declaring Required Variables 14-3
Setting Attributes for Transactions 14-3
Starting a Transaction 14-6
Processing Database Changes 14-7
Testing for Errors 14-7
Committing Database Changes if No Errors Occur 14-8
Undoing Database Changes if an Error Occurs 14-8
15. C/C++ Program Compilation
Compiling SQL/MX Applications and Modules 15-2
Compiling Embedded SQL C/C++ Programs With Embedded Module
Definitions 15-2
Compiling Embedded SQL C/C++ Programs With Module Definition Files 15-6
Creating Modules: From Development to Production 15-8
Running the SQL/MX C/C++ Preprocessor 15-8
Preprocessor Functions 15-9
Preprocessor Output 15-17
OSS-Hosted SQL/MX C/C++ Preprocessor 15-19
Windows-Hosted SQL/MX C/C++ Preprocessor 15-26
Running the C/C++ Compiler and Linker
15-34
Running the SQL/MX Compiler
15-36
Compiling Embedded Module Definitions 15-37
MXCMP Environment Variable
15-41
MXCMPUM Environment Variable 15-41
Compiling a Module Definition File
15-42
c89 Utility: Using One Command for All Compilation Steps
15-44
c89 Examples With Embedded Module Definitions 15-49
c89 Examples With Module Definition Files
15-52
Examples of Building and Deploying Embedded SQL C/C++ Programs
15-55
Building a C/C++ Program With Embedded SQL Statements on Windows
15-55
Developing a Native C/C++ Program With Embedded SQL/MX Statements on OSS
15-57










