Copy 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.

StepsCopying server entries within the current session in Windows

  1. Click one or more server entries in the Server box. Use the Shift key to select multiple entries.

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

  3. Click Paste (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 “Renaming a server entry” for more information.

StepsCopying server entries between sessions in Windows

  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 “Opening additional sessions”.

  3. Click 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 Copy (below the menu bar), or choose Edit | Copy.

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

  5. Activate the session where you want to paste the server entries. See “Switching to another open session”.

  6. Click Paste (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 “Renaming a server entry”.

StepsCopying a server entry to another interfaces file in UNIX

  1. To select the entries to copy:

    • Click it once to copy a single entry.

    • To copy a range of consecutive entries – click the first entry in the range, press and hold down Shift, and click the last entry in the range.

    • To select multiple, nonconsecutive entries, press and hold down the Ctrl key while you click each entry.

  2. Click Copy server entry.

  3. Select the Sybase interfaces file from the list.

  4. Edit the displayed file name, then click OK.