> # Configuring SequeLink® Servers

> This section describes how to create and manage SequeLink Servers locally on z/OS.

> To do this... | See...
> --- | ---
> Create a SequeLink Server | "Creating a SequeLink® Server"
> Delete a SequeLink Server | "Deleting a SequeLink® Server"

> ### Creating a SequeLink® Server

> On z/OS, a SequeLink Server is a started task/job name that corresponds to a single data access service. You can define multiple SequeLink Servers on the same z/OS machine. Each SequeLink Server has SequeLink Agent functionality that is included in the data access service. When you add a SequeLink Server, you are prompted to add a DB2 interface and a service.

> To create a SequeLink Server:

> 1. From the ServerList panel, type `A` at the Command prompt to create a SequeLink Server; then press ENTER. The Add Server panel appears.

> 2. Provide the following information, then press ENTER:

> Server name: Type the name of the new SequeLink Server definition. The server name you choose will be the job name or started task name.

> Description: Type a description for the new SequeLink Server definition.

> Hostname/IP-address: Type the TCP/IP host name or the TCP/IP address of the SequeLink Server definition. The HOME address of the local TCP/IP stack or the standard 127.0.0.1 TCP/IP loopback address will be inserted. In some instances, such as when the TSO session for the SequeLink Manager is running on another IP stack than the server, you must specify the TCP/IP address of the server machine.

> Portnumber: Type the port to be used by the SequeLink service.

> NOTE: When you create a server, a server-specific configuration file is created. If such a file already exists, you are prompted to confirm whether you want to overwrite the existing configuration file.

> 3. You are prompted to supply parameters to the DB2 interface.

> 4. Provide the following information; then, press ENTER.

> Interface ID: Type a Logical ID identifying the DB2 interface for the SequeLink Server, for example, DSN8. The corresponding service attribute is MVSServiceDB2InterfaceID.

> DB2 Subsystem Id: Type the SubsystemId of the DB2 subsystem you want to access, for example, DBR8. The corresponding service attribute is MVSDB2SubsystemName.

> DB2 Version: Type the version of DB2 to be used, for example, V810. The corresponding service attribute is MVSDB2Version.

> Description: Type a description of the DB2 interface. The corresponding service attribute is MVSDB2RootDescription.

> DB2 Loadlib: Type the name of the DB2 load library, for example, DB2.V8R1M0.SDSNLOAD. The corresponding service attribute is MVSDB2LoadLibrary.

> DB2 Exitlib: Type the name of the DB2 exit library, for example, DB2.V8R1M0.DB8R.SDSNLOAD. The corresponding service attribute is MVSDB2ExitLibrary.

> 5. You are prompted to supply parameters to define the service.

> 6. Provide the following information; then, press ENTER.

> Service name: Type the service name. The corresponding service attribute is ServiceName.

> Description: Type a description of the service. The corresponding service attribute is ServiceDescription.

> Portnumber: The port number entered in the Server Definition panel is displayed here.

> 7. The ServerList panel shows the SequeLink Server you just created.

> Once you have created a SequeLink Server, type `S` beside it to view the server management tree. The server management tree shows the DB2 interface, UID maps, and the SequeLink service and its configuration settings.

> See "Using the Server Management Tree" for more information about using the server management tree.

> ### Deleting a SequeLink® Server

> 1. From the ServerList panel, type `D` beside the SequeLink Server you want to delete; then, press ENTER. The Delete Server panel appears, prompting you to confirm the deletion.

> 2. Confirm or cancel the deletion:
> - Type `1` to confirm the deletion; then, press ENTER.
> - Type `2` to cancel the deletion; then, press ENTER.

> The SequeLink Server is deleted, and you are returned to the list of servers.