This command connects Text Extender to a database .
Authorization
CONNECT authorization to the database .
Command syntax
>>-CONNECT------------------------------------------------------> >-----+------------------------------------------------------+->< '-TO--db-alias--+-----------------------------------+--' '-USER--user-name--USING--password--'
Command parameters
Usage notes
When you issue a DB2TX command without already being connected to a database , Text Extender connects to the database specified in the environment variable DB2DBDFT.
To explicitly connect to a particular database , issue the CONNECT TO command.
You can be connected to only one database at a time; this is called the current database . In interactive mode, a connection lasts until another CONNECT TO statement changes the database , or until a QUIT command is issued. In command line mode, a CONNECT command has no effect.
If you are using an OS/2 client, and this is the first time that you are connecting to a database after you have started the system, you are prompted for a user ID and a password by User Profile Management (UPM). If you are already logged on, UPM takes the user ID and password from this session and tries to connect to the remote server. See Starting the Text Extender command line processor (optional).