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 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 “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” 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 “Switching 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 “Renaming a server entry” for more information.

StepsCopying a server entry to another interfaces file in UNIX

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

    • To copy a single entry – click it once.

    • 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. You can also select “backwards” by clicking the last entry, holding down Shift, and clicking the first entry.

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

  5. Click OK.