error_init_uti

	error_init_uti(uti_id.i1a.r, write_log.i4.v [,log_file.i1a.r]
		       [,author.i1a.r] [,enable_writes.i4.v] [,priority.i4.v])

	This routine initializes error reporting for UTI's.

	uti_id		caller identification string (ERR_UTILEN characters)
	write_log	log to which error messages will be written
			(LOG_NONE -> no log entries written,
			 LOG_PROGRAM -> log entries in the program log,
			 LOG_CONSOLE -> log entries in the console log,
			 LOG_BOTH -> log entries in both local and shared logs)
	[log_file]	log file name (LOG_NAMLEN characters)
			(must be specified if 'write_log' has a value of
			 LOG_PROGRAM or LOG_BOTH) (default is NULL)
	[author]	author string (LOG_AUTLEN characters)
			(If this is specified, a log entry will be written
			 with this as the author string.  Otherwise, the
			 default string is used.) (default is NULL)
	[enable_writes]	flag to enable actually writing to logs
			(TRUE -> enable log writes (default),
			 FALSE -> disable log writes)
	[priority]	priority of any log message written  (The meaning of
			a given priority is defined by the application.)
			(default is ERR_DEFAULT_PRIORITY)

	This function requires the following include files:

	cnsparam_h, cbslib_h

	Related functions:

	error_disp_uti, error_uti_logging_c, error_init(_c), intro_error

	C/C++ usage:

	static const char	uti_id[ERR_UTILEN+1] = "XXXLOG";
	static const char	log_file[LOG_NAMLEN+1] = "XXXXXLOG";
	static const char	author[LOG_AUTLEN+1] = "Author";
	int	write_log = LOG_BOTH;
	int	enable_writes = TRUE;
	int	priority = ERR_DEFAULT_PRIORITY;

	error_init_uti(uti_id,write_log,log_file,author,enable_writes,
		       priority);