4. Modify ASN [PATHS] and [ENTITIES].

To direct which Uniface entities will be stored using UD6/CMtool Driver you must modify the [PATHS] and [ENTITIES] sections of the ASN file.

[PATHS]

In your assignment file there is a [PATHS] section (if you are using Uniface Six, the [PATHS] section heading may not exist, but similar lines will). Once you have located this section, you should find several lines that determine which types of database Uniface searches for Data, Compiled objects, Source code, and System objects (like printer definitions). These are probably all directed to $DEF, but may not be.

Alter the line that defines which driver the $IDF, $UUU and $SYS paths are directed to. If you are not using the UD6 Option Pack then you can only redirect the $IDF path.

$IDF $UD6

Your assignment file should now look similar to this:

[PATHS]
$SCM UD6:
$DEF  $DEF
$UUU  $SCM
$IDF  $SCM
$SYS  $SCM

[ENTITIES]

In your assignment file there is an [ENTITIES] section (if you are using Uniface Six, the [ENTITIES] section heading may not exist, but similar lines will). Once you have located this section, you should find several lines that either rename tables, or direct tables to a certain PATH.

The FINAL line in the [ENTITIES] section should be a ‘catch-all’ to direct any repository tables not defined in the joins file to be directed to a central directory.

[ENTITIES]
; Final catch-all for IDF dictionary
*.sysenv      .\sources\sysenv\*.*
*.text              .\sources\compiled\*.*
*.dict              .\sources\other.dir\*.*

if you are using the UD6 Option Pack then by default certain tables (eg: USTMP, UGCROSS etc) are stored in an ISAM format by the Option Pack.

If you are not using UD6 Option Pack then you must store them in another database. Eg:

[ENTITIES]
;
; Don't store temporary data in XML
USTMP.DICT    $sol:USTMP.*
UAPLLST.DICT  $sol:UAPLLST.*
UGCROSS.DICT  $sol:UGCROSS.*
USIMPKW.DICT  $sol:USIMPKW.*
USSPCKW.DICT  $sol:USSPCKW.*
;
; Improve performance by leaving these entities out
USILINK.DICT  $sol:USILINK.*

;
; Don't store UGLYPH in NLS UD6
; Alternatively you can store UGLYPH in UD6 if you switch off NLS
UGLYPH.DICT   $sol:UGLYPH.*
;
; Redundant entity
UCSDIA.DICT   $sol:UCSDIA.*

; Final catch-all for IDF dictionary
*.dict              $idf:.\sources\other.dir\*.*

When using the UD6 Option Pack the UGLYPH table is stored in ISAM format by default. If you want store UGLYPH in XML format then you will need to disable the UD6 NLS features.

Steps to installing UD6

Next Step Initialise the UD6/CMtool repository.
Prev Step UD6 configuration files.
Step 1 Modify your configuration file(s) to load UD6 DLL.
Step 2 Modify ASN [SETTINGS] and [DRIVER_SETTINGS].
Step 6 Prepare repository export.
Step 7 Import repository into UD6/CMtool.

$Revision: 1.15 $ $Date: 2004/07/27 02:21:00 $[go to top]