#############################################################################
#
# @(#)62        1.6  src/examples/pubsex/strtree/readme, examples.src, os2dce21.dss, 960602a.1  5/12/96  10:10:19
#
# COMPONENT_NAME:  examples.src
#
# FUNCTIONS: readme file
#
# ORIGINS: 27
#
#
# (C) COPYRIGHT International Business Machines Corp. 1992, 1994
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
#############################################################################

Steps to build and run the DCE string_tree example program:
-----------------------------------------------------------

1.- Under AIX issue the make command to build string_tree.
    Under OS/2 issue, refer to the main Examples Readme file in
    opt\dcelocal\examples for information on how to build
    this example.


2.- Use cdscp to create the entry /.:/servers if it doesn't already
    exist.  You must be dcelogin as cell_admin for this step.
    You can verify that the entry exists with:

    ---> cdscp show directory /.:/servers

    You can create the entry with:

    ---> dcelogin cell_admin -dce-
    ---> cdscp create directory /.:/servers

3.- To run the string_tree server type "server ncadg_ip_udp" at the
    command line. Proceed to the next when the "Listening..." message
    is issued by the server.

    ---> server ncadg_ip_udp

4.- In the session where the string_tree client is to be run, use the
    AIX export command or OS/2 set command to define

    ---> set/export RPC_DEFAULT_ENTRY=/.:/servers/string_tree

5.- To run the string_tree client type "client" at the command line.

    ---> client

    Observe the output messages:


     Original Tree:
         Root Node
            Left subtree
                Child of left subtree
            Right subtree
     Pruned Tree:
         Root Node
             Right subtree
     Pruned subtree:
         Left subtree
             Child of left subtree


6.- Use Ctrl-C to end the server when all demo runs are done.

For further information on this example see the DCE Application Development
Guide.

