Copying server entries

dsedit allows you to copy server entries within a session and between sessions. This includes copying entries from a sql.ini file to a directory service.

Windows NT

StepsTo copy server entries within the current session

  1. Click on one or more server entries in the Server box.

    Use the Shift key to select multiple entries.

  2. Click the Copy button (below the menu bar), or choose Edit | Copy.

  3. Click the Paste button (below the menu bar), or choose Edit | Paste.

    dsedit appends the copied server entries with a version number of _n. You can rename the copied server entries using Server Object | Rename. See “To rename a server entry” for more information.

StepsTo copy server entries between sessions

  1. Open a session with the directory service or sql.ini file that you want the entries copied to.

  2. To open a session, choose File | Open Directory Service. See “To open additional sessions” for more information.

  3. Click on one or more server entries in the Server box of the session that you want the entries copied from.

    Use the Shift key to select multiple entries.

  4. To copy the server entries, click the Copy button (below the menu bar), or choose Edit | Copy.

    To cut the server entries, click the Cut button (below the menu bar), or choose Edit | Cut.

  5. Activate the session where you want to paste the server entries.

    See “To switch to another open session” for instructions for activating a session.

  6. Click the Paste button (below the menu bar), or choose Edit | Paste.

You can rename the copied server entries using the Rename command in the Server Object menu. See “To rename a server entry” for more information.

UNIX platforms

StepsTo copy a server entry to another interfaces file

  1. Use one of the following methods to select the entries to copy:

  2. Click Copy server entry.

  3. Select the Sybase interfaces file from the list.

  4. Edit the displayed file name.

  5. Click OK.