When the CONNECT statement is executed, the specified server name or the server name contained in the variable must identify an application server described in the local directory and the activation group must be in the connectable state.
If the server-name is a local relational database and an authorization-name is specified, it must be the user of the job. If the specified authorization-name is different than the user of the job, an error occurs and the application is left in the unconnected state.
If a variable is specified,
If password is specified as a literal, it must be a character string. The maximum length is 128 characters. It must be left justified. The literal form of the password is not allowed in static SQL or REXX.
If a variable is specified,
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.