Return the length of the new value of the timestamp column after a browse-mode update.
int dbtsnewlen(dbproc) DBPROCESS *dbproc;
A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.
The length (in bytes) of the updated row’s new timestamp value. If no timestamp was returned to the application (possibly because the update was unsuccessful, or because the update statement did not contain the tsequal built-in function), dbtsnewlen will return -1.
dbtsnewlen is one of the DB-Library browse-mode routines. See “Browse mode” for a detailed discussion of browse mode.
dbtsnewlen provides information about the timestamp column. The where clause returned by dbqual contains a call to the tsequal built-in function. When such a where clause is used in an update statement, the tsequal function places a new value in the updated row’s timestamp column and returns the new timestamp value to the application (if the update is successful). The dbtsnewlen function allows the application to save the length of the new timestamp value, possibly for use with dbtsput.
dbcolbrowse, dbcolsource, dbqual, dbtabbrowse, dbtabcount, dbtabname, dbtabsource, dbtsnewval, dbtsput