Sets the workstation name in the LOGINREC structure.
RETCODE DBSETLHOST ( PLOGINREC loginrec, LPCSTR workstation );
where
SUCCEED or FAIL.
For DBSETLHOST to have any effect, call it before dbopen.
The workstation name shows up in the sysprocesses table in the master database, or on the screen if you issue an sp_who command.
Calling DBSETLHOST is not necessary, because if it's not called, DB-Library sets the workstation name to NULL.
dblogin, dbopen, DBSETLAPP, DBSETLPWD, DBSETLUSER