The following examples show, for the Oracle and Sybase
and Informix
precompilers, command lines which can be entered at the
command prompt
to compile a program using COBSQL.
- Oracle
-
cob -a -v -k sample.pco -C "p(cobsql)
cobsqltype==ORACLE endp"
- Sybase
-
cob -a -v -P -k example1.pco -C"p(cobsql) CSQLT==syb endp"
- Informix
-
cob -a -k demo1.eco -C "p(cobsql)
cobsqltype==informix-new endp"