SQL/MX Programming Manual for C and COBOL (G06.24+, H06.03+)
Contents
HP NonStop SQL/MX Programming Manual for C and COBOL—523627-004
xi
16. COBOL Program Compilation
16. COBOL Program Compilation
Compiling SQL/MX Applications and Modules 16-2
Compiling Embedded SQL COBOL Programs With Embedded Module
Definitions 16-3
Compiling Embedded SQL COBOL Programs With Module Definition Files 16-6
Creating Modules: From Development to Production 16-8
Running the SQL/MX COBOL Preprocessor 16-9
Preprocessor Functions 16-9
Preprocessor Output 16-11
OSS-Hosted SQL/MX COBOL Preprocessor 16-13
Windows-Hosted SQL/MX COBOL Preprocessor 16-16
Running the COBOL Compiler and Linker 16-21
Running the SQL/MX Compiler 16-22
Compiling Embedded Module Definitions 16-22
MXCMP Environment Variable 16-26
MXCMPUM Environment Variable 16-26
Compiling a Module Definition File 16-26
nmcobol Utility: Using One Command for All Compilation Steps 16-29
nmcobol Examples With Embedded Module Definitions 16-35
nmcobol Examples With Module Definition Files 16-37
Combining Embedded Module Definitions and Module Definition Files 16-38
Building SQL/MX COBOL Applications to Run in the Guardian Environment 16-40
Building SQL/MX Guardian Applications in the Guardian Environment 16-40
Building SQL/MX Guardian Applications in the OSS Environment 16-42
Running an SQL/MX Application 16-43
Running the SQL/MX Program File 16-44
Understanding and Avoiding Common Run-Time Errors 16-44
Displaying Query Execution Plans
16-45
17. Program and Module Management
Program Files 17-1
Managing Program Files 17-3
Generating Locally or Globally Placed Modules 17-3
Managing the Coexistence of Globally and Locally Placed Modules 17-4
Managing Modules 17-6
Module Management Behavior 17-7
Influencing Module Management Behavior 17-7