Skip to main content

How to suppress database userid/password during compile using Cobsql

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

If the database connection criteria is being passed to Pro*COBOL via a compiler directive, is there a way to prevent this from being displayed on the console?

Note the line:

* CSQL-I-005: Passing userid=abcd/wxyz@INST1 to ORACLE Precompiler

in the output of a compilation of an Oracle COBOL program..

Resolution:

These messages are actually coming from the COBSQL portion of the COBOL compiler

* CSQL-I-005: Passing userid=abcd/wxyz@INST1 to ORACLE Precompiler

This message is only displayed if the CONFIRM directive is set. Removing the CONFIRM directive should resolve the problem.

Old KB# 4517