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

Embedded-Only SQL/MX Statements
HP NonStop SQL/MX Reference Manual540440-003
3-70
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.