> # Configuring Server Data Sources

> This section describes how to create and manage server data sources locally using the SequeLink Manager for z/OS.

> To do this... | See...
> --- | ---
> Create a server data source | "Creating a Server Data Source"
> Delete a server data source | "Deleting a Server Data Source"
> View server data source attributes | "Viewing Server Data Source Attributes"
> Add a server data source attribute | "Adding a Server Data Source Attribute"
> Change a server data source attribute | "Changing a Server Data Source Attribute"
> Delete a server data source attribute | "Deleting a Server Data Source Attribute"

> ### Creating a Server Data Source

> When you create a server data source, the attributes for the new server data source are copied from the default data source. Once you create a server data source, you can change any attributes of the new server data source. See "Viewing Server Data Source Attributes" for instructions on viewing server data source attributes.

> To create a server data source:

> 1. Type `/` beside the Datasource Settings node of the SequeLink service to expand it; then, press ENTER. The expanded Datasource Settings node shows the default server data source, which is named Default, and any other server data sources defined for the SequeLink service.

> 2. Type `A` beside the Datasource Settings node; then, press ENTER. The Add Datasource panel appears:

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

> Datasource name: Type the name of the new server data source. The corresponding service attribute is DataSourceName.

> Description: Type a description for the server data source. The corresponding service attribute is DataSourceDescription.

> 4. You are returned to the server management tree, and the panel reminds you to review the attribute settings for the server data source. See "Viewing Server Data Source Attributes" and "Changing a Server Data Source Attribute" for instructions on viewing and changing server data source attributes.

> The server data source you created can be used immediately for incoming connections; you do not need to restart the SequeLink Server.

> #### Adding a UID Map to a SequeLink® Server Data Source (Optional)

> UID mapping is the optional mapping of user IDs to alternate user IDs using a UID map. You can specify a UID map for a SequeLink service and another UID map for a SequeLink Server server data source. See "Adding a UID Map to the SequeLink® Service" for more information about adding a UID map to a SequeLink Server service.

> See "Using UID Mapping" for more information about using UID maps.

> ### Deleting a Server Data Source

> NOTE: You cannot delete the Default server data source.

> 1. Type `/` beside the Datasource Settings node of the SequeLink service to expand it; then, press ENTER. The expanded Datasource Settings node shows the default server data source, which is named Default, and any other server data sources defined for the SequeLink service.
> 2. To delete a server data source, type `D` beside the Datasource Settings node; then, press ENTER. The Delete Datasource panel appears prompting you to confirm the deletion.

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

> The server data source is deleted, and you are returned to the server management tree.

> ### Viewing Server Data Source Attributes

> 1. Type `/` beside the Datasource Settings node of the SequeLink service to expand it; then, press ENTER. The expanded Datasource Settings node shows the default server data source, which is named Default, and any other server data sources defined for the SequeLink service.
> 2. Type `/` beside the server data source you want to view attributes for; then, press ENTER. The server data source node expands to show the data source attribute categories.

> 3. Type `S` beside any attribute category to view the attributes set for the server data source; then, press ENTER. The AttributeList panel appears, listing all the attributes and their values configured for the server data source.

> For example, if you select the Advanced category, the following AttributeList panel appears:

> ### Adding a Server Data Source Attribute

> 1. Type `/` beside the Datasource Settings node of the SequeLink service to expand it; then, press ENTER. The expanded Datasource Settings node shows the default server data source, which is named Default, and any other server data sources defined for the SequeLink service.
> 2. Type `/` beside the server data source you want to add an attribute for; then, press ENTER. The server data source node expands to show the data source attribute categories.

> 3. Type `S` beside any attribute category to view the attributes set for the server data source; then, press ENTER. The AttributeList panel appears, listing all the attributes and their values configured for the server data source.

> For example, if you select the Advanced category, the following AttributeList panel appears:

> 4. Type `Add` at the command prompt to add an attribute. A list of attributes you can add for this attribute category appear.

> For example, if you choose to add an attribute from the Advanced category, the following panel appears:

> NOTE: To display help about an attribute, type `?` beside the attribute; then, press ENTER.

> 5. Type `S` beside the attribute you want to add; then, press ENTER. The Attribute Value panel appears with the cursor positioned on the Value field.

> For example, selecting the DataSourceSchemaFilterList attribute causes the following panel to appear:

> 6. Type a value for the attribute or use the default if one is available; then, press ENTER.
> 7. You are returned to the AttributeList panel. Press F3 to return to the server management tree.

> ### Changing a Server Data Source Attribute

> 1. Type `/` beside the Datasource Settings node of the SequeLink service to expand it; then, press ENTER. The expanded Datasource Settings node shows the default server data source, which is named Default, and any other server data sources defined for the SequeLink service.
> 2. Type `/` beside the server data source to view its attributes; then, press ENTER. The server data source node expands to show the data source attribute categories.

> 3. Type `S` beside any attribute category to view the attributes set for the data source; then, press ENTER. The AttributeList panel appears, listing all the attributes and their values configured for the server data source.

> For example, if you select the Advanced category, the following AttributeList panel appears:

> 4. Type `C` beside the attribute you want to change; then, press ENTER. The Attribute Display panel appears with the cursor positioned at the value field of the attribute.

> For example, to change the value of the DataSourceCursorHold attribute to FALSE, the following panel appears:

> 5. Type the new value of the attribute; then, press ENTER. You are returned to the AttributeList panel, and the attribute value, if valid, is changed.
> 6. Press F3 to return to the server management tree.

> ### Deleting a Server Data Source Attribute

> 1. Type `/` beside the Datasource Settings node of the SequeLink service to expand it; then, press ENTER. The expanded Datasource Settings node shows the default server data source, named Default, and any other server data sources defined for the SequeLink service.
> 2. Type `/` beside the server data source to view its attributes; then, press ENTER. The server data source node expands to show the data source attribute categories.

> 3. Type `S` beside any attribute category to view the attributes set for the data source; then, press ENTER. The AttributeList panel appears, listing all the attributes and their values configured for the server data source.

> For example, if you select the Advanced category, the following AttributeList panel appears:

> 4. Type `D` beside the attribute you want to delete; then, press ENTER. The attribute is deleted. You are returned to the server management tree.