PRSQL9106007: Dbprrow() Output in Wrong Order When Redirecting

ID Number: Q73554

1.10

OS/2

buglist1.10 fixlist1.16

Summary:

Problem ID: PRSQL9106007

SYMPTOMS

When redirecting to a file (PROG.EXE > LOG.OUT), output from

dbprrow() and output from the calling program may not be written in

the order executed.

CAUSE

The dbprrow() function uses the standard run-time function

putchar() to place characters into the output buffer. Because of an

anomaly in the C run time, putchar() will not always flush buffers

properly when standard output is redirected in a dynamic-link

library (DLL).

RESOLUTION

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

version 1.1. This problem was corrected in DB-LIBRARY version 1.16,

which is available from Microsoft Product Support Services. For

more information, contact your primary support provider.