Name

sybconnect

sybconnect loginName password [server] [appName] [iFile]

Connect to a Sybase server using loginName and password.

A server can be specified. If omitted, will use value of environment variable DSQUERY, and failing that, a server named SYBASE.

The command can optionally specify an application name appName.

A file iFile can be specified to resolve server addresses. Otherwise, the command uses the file $SYBASE /interfaces.

Returns a Sybase handle that can be used as a parameter to other Sybtcl commands to identify the database connection.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.