PRSQL9012041: dbsetopt() After dbsqlexec() GP-Faults Dblib

ID Number: Q70077

1.10

OS/2

buglist1.10 fixlist1.12

Summary:

PROBLEM ID: PRSQL9012041

SYMPTOMS

A DB-LIBRARY (dblib) program that calls dbsetopt() directly after a

call to dbsqlexec() results in a GP-fault.

RESOLUTION

Place a line of code that accesses SQL Server before the dbsetopt()

function call. For example:

dbuse(dbproc,"master");

Microsoft has confirmed this to be a problem in DB-LIBRARY (dblib)

version 1.10. This problem has been corrected in an updated version

of dblib that is available from Microsoft Product Support

Services. For more information, contact your authorized network

specialist.