Starting dscp

If you plan to add or modify entries, you must log in to the directory services, with the necessary privileges, before you start dscp.

To start dscp, enter:

$SYBASE/$SYBASE_OCS/bin/dscp

The dscp prompt, >>, appears. The commands you can use are:

Command Description
open [DSNAME]

Opens a session with the specified directory service or interfaces.

dscp – to open a session with interfaces, specify “InterfacesDriver” as DSNAME.

sess
Lists all open sessions.
[switch] SESS
Makes session number SESS the current session.
close [SESS]
Closes a session identified by the SESS number. If you do not specify SESS, closes the current session.
list [all]

Lists the server entries for the current session.

To list the names of the entries, use the list command. To list the attributes for each entry, use the list all command.

read SERVERNAME
Prints the contents of server entry SERVERNAME to the screen.
add SERVERNAME

Adds server entry SERVERNAME in the current session.

dscp prompts you for information about SERVERNAME. Press Return to accept the default value, which is shown in brackets [ ].

adtr SERVERNAME
Adds an attribute to the server entry SERVERNAME in the current session.
mod SERVERNAME

Modifies server entry SERVERNAME in the current session.

dscp prompts you for information about SERVERNAME. Press Return to accept the default value, which is shown in brackets [ ].

del SERVERNAME
Deletes server entry SERVERNAME in the current session.
delete-all
Deletes all server entries in the current session.
copy NAME1 to {NAME2 | SESS | SESS NAME2}
Copies server entry NAME1 in the current session to:
  • Server entry NAME2 in the current session

  • Session SESS

  • Server entry NAME2 in session SESS

copyall to SESS
Copies all server entries in the current session to session SESS.
config
Prints configuration information related to your Sybase environment to the screen.
exit, quit
Exits dscp.
help, ?, h
Displays the help screen.