Record all SQL commands sent from the application to the server.
void dbrecftos(filename) char *filename;
A pointer to a null-terminated character string to be used as the basis for naming SQL session files.
None.
dbrecftos causes all SQL commands sent from the front-end application program to the server to be recorded in a human-readable file. This SQL session information is useful for debugging purposes.
DB-Library creates one SQL session file for each call to dbopen that occurs after dbrecftos is called. Files are named filename.n, where filename is the name specified in the call to dbrecftos and n is an integer, starting with 0.
For example, if filename is “foo,” the first file created is named foo.0, the next foo.1, and so forth.