To open the default interfaces for editing, select Sybase interfaces file and click OK. To open an alternate file, edit the displayed file name before clicking OK. You can open multiple interfaces file sessions with different files.
The session window for an interfaces-file session displays the full path name of interfaces and lists the server entries contained in interfaces. The buttons to the right of the list allow you to add, modify, copy, and delete entries:
Add new server entry – displays the Server Entry Editor window, where you specify the name and network addresses for a new server entry. See “Adding, viewing, and editing server entries” for more information.
Modify server entry – lets you view and modify the network addresses for a selected server entry. Select the server in the list, then click Modify server entry to display the server’s attributes in the Server Entry Editor window. See “Adding, viewing, and editing server entries” for more information.
Copy server entry – lets you copy one or more entries to another interfaces file. Before copying server entries, select the entries to copy in the list of servers:
To copy a single entry, click it once.
To copy a range of consecutive entries, click the first (or last) entry in the range, then, with the Shift key pressed, click the last (or first) entry in the range.
To select multiple, nonconsecutive entries, press and hold down the Ctrl key, then click each desired entry to select it.
After selecting entries to copy, click Copy server entries. A new window prompts you to choose the destination directory service. You can copy to another interfaces file:
To copy the entries to another interfaces file, select Sybase Interfaces File, edit the displayed file name, and click OK.
Click Close Session to close the session window and write any changes to interfaces.
You must close the interfaces session window to apply your edits to the interfaces file.