VMS Help  —  DCE  DCE_INTRO, dce_svc_intro, dce_svc_debug_set_levels
 NAME
   dce_svc_debug_set_levels - Sets the debugging level for a component

 SYNOPSIS

   #include <dce/dce.h>
   #include <dce/svcremote.h>

   void dce_svc_debug_set_levels( unsigned char *where,
                                  error_status_t *status );

 PARAMETERS

   Input

   where  A multi-field string consisting of the component name separated
          by a colon from a comma-separated list of subcomponent/level
          pairs, as described in svcroute.

   Output

   status
          Returns the status code from this operation. The status code
          is a value that indicates whether the routine completed
          successfully and if not, why not.

 DESCRIPTION

   The dce_svc_debug_set_levels() routine sets serviceability debugging
   message level(s) for a component. The where parameter is a multi-field
   string consisting of the component name separated by a colon from a
   comma-separated list of subcomponent/level pairs, as described in
   svcroute.  The subcomponents are specified by codes defined in the
   component's sams file; the levels are specified by single digits (1
   through 9).

   If the routine is called before the component is registered (with
   dce_svc_register()), the disposition is stored until it is needed.
   In case of error, the status parameter is filled in with an error
   code.

   To set both the debug level and routing for a component, use the
   dce_svc_debug_routing() routine.

 ERROR CODES

   See dce_svc_register.

 RELATED INFORMATION

   Functions: dce_svc_debug_routing

   Files: svcroute
Close Help