[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 2


ds_reg Command

Purpose

Documentation Library Service registration tool.

Syntax

ds_reg [ -q ] -l Locale ViewSet View
ds_reg [ -q ] [ -d ] Locale ViewSet View ViewDefinitionFile

Description

By default, the ds_reg command registers the contents of a view definition file with the specified view in the given view set for the specified locale.
With the -d flag, the ds_reg command removes previously registered contents of a view definition file from the specified view in the given view set for the specified locale.
With the -l flag, the ds_reg command lists the specified view in the given view set for the specified locale.

Flags


-d Unregisters the contents of the view definition file from the specified view in the given view set for the specified locale.
-l Lists the contents of the specified view in the given view set and locale. No view definition file need be specified.
-q Specifies the quiet option, causing the ds_reg to suppress the display of messages.

Examples

To register the contents of the view definition file 'MyBook.vdf' into the view 'Books' of the 'Global' view set in the English (en_US) locale, enter:

ds_reg en_US Global Books MyBook.vdf

To remove the contents of the view definition file 'MyBook.vdf' from the view 'Books' of the 'Global' view set in the English (en_US) locale, enter:

ds_reg -d en_US Global Books MyBook.vdf

To list the contents of the 'Books' view of the 'Global' view set in the English (en_US) locale, enter:

ds_reg -l en_US Global Books

Files


/usr/sbin/ds_reg The ds_reg command
/usr/docsearch/views/<locale>/<view set>/<view>.vdf The view set registries
/usr/lib/nls/msg/$LANG/docsearch.cat The Documentation Library message catalog

Related Information

The Documentation Library Service chapters in the System Management Guide and the General Programming Concepts Guide.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]