SQL/MX 3.2.1 Reference Manual (H06.26+, J06.15+)

Embedded-Only SQL/MX Statements
HP NonStop SQL/MX Release 3.2.1 Reference Manual691117-004
3-71
C Examples of MODULE
Automatic Generation of Module Names
If you do not specify a MODULE directive, the preprocessor or customizer generates a
module name for you. If you change your source program and process and compile it
again, the new module overwrites the old module. System-generated module names
can become a management problem if you want to create different versions of your
program. For more information on module management, see the SQL/MX
Programming Manual for C and COBOL.
C Examples of MODULE
This example shows a MODULE directive:
EXEC SQL MODULE EXF61M NAMES ARE ISO88591;
COBOL Examples of MODULE
This example shows a MODULE directive:
EXEC SQL MODULE EXF62M NAMES ARE ISO88591 END-EXEC.