OSF DCE Administration Guide--Core Components
OSF DCE Administration Guide—Core Components
1.3 Using the DCE Control Program
This section provides a quick look at how to start and stop the DCE control program and
how to perform operations. Additional information about these topics is contained in the
dcecp reference pages.
1.3.1 Starting and Stopping the DCE Control Program
You can enter dcecp operations directly from your operating system prompt or from
within the DCE control program. If you are performing just one or two simple dcecp
operations, you can invoke them directly at the operating system prompt.
If you will be doing several operations, you can invoke the DCE control program and
then enter operations at the dcecp prompt. This method offers several advantages.
• It is more efficient for multiple operations because dcecp is initialized once rather
than for each separate operation.
• The program stores operations in a history facility so they can be recalled and reused.
• You avoid the extra keystrokes needed to precede each operation with the dcecp
command.
The following example shows how to invoke the DCE control program and perform a
directory operation:
% dcecp
dcecp> directory create /.:/hosts/appserver2
dcecp>
When you are through using the DCE control program, use the exit or quit operation to
stop the program and return to the operating system prompt. The following example
illustrates using the exit operation:
dcecp> exit
%
1.3.2 Invoking dcecp Operations
If you are performing a single dcecp operation, you can invoke it directly from the
operating system prompt. Just precede the desired operation with the dcecp command
and the-c (command-line operation) flag, as follows:
% dcecp -c directory list /.:/subsys -simplename
HP applications dce sales eng admin accts
1− 4 Tandem Computers Incorporated 124243