The following examples show, for the Oracle and Sybase
precompilers, command lines which can be entered at the
Net Express command prompt to compile a program using COBSQL.
- Oracle
-
cobol sample.pco anim nognt preprocess(cobsql)
cstart cstop CSQLT=ORA end-c comp5=yes endp;
- Sybase
-
cobol example1.pco confirm preprocess(cobsql)
cstop csp cobsqltype=sybase preprocess(cp) sy endp;