Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
Server information can be specified either in the servers section of the script file or in a separate server connection file. The command line parameter for the server connection file is, -c <serverconnectionfile>. If the same server ID is present in both the script file and server connection file, then the server definition in the script file is considered.
Examples
This is a sample of server connection file commands.
The database-manager can be one of the following attribute values:
zOs- Db2 for z/OSLUW- Db2 for Linux, Unix, and WindowsDBi- Db2 for i
<sql-server name="<target-server-unique-name>">
<sql-server-authentication>
<server value="<server-name>" />
<database value="<database-name>" />
<user-id value="<user-name>"/>
<password value="<password>"/>
</sql-server-authentication>
</sql-server>
For example:
<db2 name="<source-server-unique-name>">
<standard-mode>
<connection-provider value="OleDB Provider" />
<database-manager value="$Db2Manager$" />
<server-name value="$Db2HostName$" />
<port value="$Db2Port$" />
<initial-catalog value="$Db2Instance$" />
<user-id value="$Db2UserName$" />
<password value="$Db2Password$" />
</standard-mode>
</db2>