Returns the length of the new value of the timestamp column after a browse-mode update.
INT dbtsnewlen ( PDBPROCESS dbproc );
where
The length, in bytes, of the new timestamp value for the updated row. If no timestamp was returned to the application (because the update was unsuccessful or because the UPDATE statement did not contain the TSEQUAL built-in function), the function returns -1.
The dbtsnewlen function is one of the DB-Library browse-mode functions. For a detailed discussion of browse mode, see Browse Mode in Programming with DB-Library.
The dbtsnewlen function 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; Bulk-Copy Functions