Microsoft KB Archive/70862

From BetaArchive Wiki

PRSQL9103042: Using Sqlpass(.) GP-Faults COBOL Compiler ID Number: Q70862

1.10 OS/2 buglist1.10

Summary:

PROBLEM ID: PRSQL9103042

SYMPTOMS Using the following syntax with the COBOL compiler GP-faults the compiler:

  COBOL example2 sql sqldb(orac.pubs) sqlpass(.) nosqlinit;

CAUSE This problem occurs when trying to use a default login identification and no password with the sqlpass() option of the compiler.

RESOLUTION Supply the login identification with the sqlpass() option. For example:

  COBOL example2 sql sqldb(orac.pubs) sqlpass(sa.) nosqlinit;