HP System Dictionary/XL General Reference Manual Vol 2 - Part 1 SDINIT (32256-90005)
10- 89
SDUTIL Examples
The following examples demonstrate user input for some typical operations which may be done while using
SDUTIL, and are provided for your guidance.
NOTE In these examples, SDUTIL keywords and commands are shown in uppercase, and
user-defined variables are shown in lowercase. Note that System Dictionary does not
require you to use upper and lower case as shown here. You may enter commands,
keywords, variables, and their abbreviations in whichever case you choose, as System
Dictionaryautomatically upshiftseverythingexceptpasswords. Passwords,therefore,
must be entered exactly as defined in the dictionary.
Compiling / Archiving a dictionary
Frequently used versions can be compiled into a compiled dictionary for faster performance. You may also
compile selected versions of different domains into a compiled dictionary for archival.
Example. The following example shows compiling/archiving two versions into a compiled dictionary
named 'acctng'.
>FROM DICTIONARY=sysdic.pub;
>>SCOPE=accounting-manager;
>>PASSWORD=amgr;
>>VERSION=general-ledger;
>>DOMAIN=accounting;
>>OPEN-MODE=read-allow-read.
>
LINKED NOT
LINKED
If the common occurrence does not exist in the target version, the common
occurrence will be created and linking will be established. The common occur-
rence attribute values are determined by the target local attribute values and the
INCOMPATIBLE-DEFINITION option. If the common occurrence exists, the
following table shows the actions taken.
Local Common Action
*C C Link to common occurrence
C *IC If REPLACE specified, replace common occurrence and link it
IC C If REPLACE specified, link it
IC IC If REPLACE specified, replace common occurrence and link it
*C means compatible *IC means incompatible
If the common occurrence cannot be modified, then the occurrence will be kept
as local and its attribute values will be determined by the INCOMPATIBLE-
DEFINITION action.
NOT
LINKED
LINKED The link will be removed. If the definition is compatible, the common occur-
rence attribute values will be kept in the local version. If it is incompatible, then
the INCOMPATIBLE-DEFINITION option will determine the local occurrence
attribute values.
NOT
LINKED
NOT
LINKED
The INCOMPATIBLE-DEFINITION option will determine the action if any is
necessary.
Table 9: LINK OPTION TRUE
Source Target Action