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

SQL/MX Statements
HP NonStop SQL/MX Release 3.2.1 Reference Manual691117-005
2-366
C Example of SET CATALOG
C Example of SET CATALOG
Set the default catalog name with an SQL string literal:
EXEC SQL SET CATALOG 'mycatalog';
Set the default catalog name with an SQL identifier:
EXEC SQL SET CATALOG mycatalog;
COBOL Example of SET CATALOG
Set the default catalog name with an SQL string literal:
EXEC SQL SET CATALOG 'mycatalog' END-EXEC.
Set the default catalog name with an SQL identifier:
EXEC SQL SET CATALOG mycatalog END-EXEC.