HP System Dictionary/XL General Reference Manual Vol 2 - Part 1 SDINIT (32256-90005)

10- 92
>
>MERGE-OPTIONS COMPLETE-STRUCTURE=true.
>
>MERGE STRUCTURE-ONLY
>
Merging a Version across Systems
If the target dictionary cannot be accessed directly, yo u can compile the source version(s) into a compiled
dictionary, transport the compiled dictionary to the target system and then merging the versions into the
target system.
Example. This example shows compiling a source version into a compiled dictionary and then merge the
version from the compiled dictionary to the target dictionary. Only the variable length attribute 'edit-
mask' is merged.
>FROM DICTIONARY=sysdic.pub;
>>SCOPE=accounting-manager;
>>PASSWORD=amgr;
>>DOMAIN=accounting;
>>VERSION=version1;
>>OPEN-MODE=read-allow-read.
>
>COMPILE-TO DICTIONARY=acctng.
>
>COMPILE-OPTIONS INCLUDE-VAR-ATTRIBUTE=edit-mask.
>
>COMPILE
>
The compiled dictionary 'acctng' is then transp orted to the target system and the version is merged to the
same version and domain name as the source.
>FROM DICTIONARY=acctng;
>>SCOPE=accounting-manager;
>>PASSWORD=amgr;
>>DOMAIN=accounting;
>>VERSION=version1;
>>OPEN-MODE=read-only.
>
>MERGE-TO DICTIONARY=sysdic;
>>SCOPE=accounting-manager;
>>PASSWORD=amgr;
>>DOMAIN=!;
>>VERSION=!;
>>OPEN-MODE=exclusive-update.
>
>MERGE
>