2.Modify your usys.asn file.

You must modify both the [SETTINGS] and [DRIVER_SETTINGS] portion of your assignment file.

[SETTINGS]

The $MAXFILES parameter must be set to a value larger than the value listed on the first line of the message frame when the UD6 driver setting listparams is used (Default is Windows:255, Non-Windows:FOPEN_MAX). The correct value for $MAXFILES will depend on your operating system and configuration.

Operating System Value
Windows 95 In your config.sys file on the startup disk, there should be a line FILES=nn. The $MAXFILES parameter should be the same value. If no value exists, set it to 255 in both your assignment file and config.sys file..
Windows NT To determine the maximum number of open files, enter this command from an account with Administrator privilege:

net config server

Unix Consult your kernel parameters
VMS Consult the SYSUAF setting.

NOTE: It is not usually practical to set $MAXFILES any higher than 2048. Uniface 7.2.06 does not allow this setting to be any larger than 9999.

[DRIVER_SETTINGS]

The following lines may appear in your assignment file in the [DRIVER_SETTINGS] section, to tell the UD6/CMTOOL driver which options to use. Uniface Six assignment files are often not broken into sections, in this case this line can appear anywhere in the assignment file.

USYS$UD6_PARAMS = mmf files 255, config h:\uniface\usys72\bin\

NOTE: the mmf files setting cannot be greater than the $MAXFILES setting, and is dependent on the amount of available memory. For a details of the mmf files setting please see the Settings Reference.

Or for an NLS environment

USYS$UD6_PARAMS = mmf files 255, mmf binary font 51 encoding ISO-8859-1, notrx, config h:\uniface\usys72\bin\

To set UD6 to enable translation of the Form Paint Tableau into XML for easier Diif's and Merge's - enable the UD6 Option Pack:

USYS$UD6_PARAMS = option pack mhgfp140.dll, mmf files 255, mmf binary font 51 encoding ISO-8859-1, notrx, config h:\uniface\usys72\bin\

The config setting specifies where UD6/CMtool driver should find its configuration files (joins and overflows). By default these files are installed into the same directory that the DLL is installed in. Please ensure that the pathname is correct in the assignment file.

By default, the UD6/CMTOOL driver is not optimised for maximum speed, it is optimised for maximum functionality (read/write/update/delete). Since IDF requires this functionality it is recommended that you do not alter these settings. If you are importing an old repository into UD6, then you may temporarily wish to switch this setting to:

USYS$UD6_PARAMS = nokeycheck, xmlschema ie5, mmf files 255

Or for an NLS environment:

USYS$UD6_PARAMS = nokeycheck, xmlschema ie5, mmf files 255, mmf binary font 51 encoding ISO-8859-1, notrx

The setting nokeycheck specifies that duplicate keys should not be looked for, and the setting xmlschema ie5 specifies that XML-SCHEMA files should be generated (which describe the XML files). The XML-SCHEMA files may be useful if you want to use a 3rd party tool to edit the XML files with.

WARNING ABOUT nokeycheck:

Some versions of Uniface (notably Uniface 7.2.04 s402 on Windows NT), export the Global Procs twice when the "select all" facility is used in the export form of the IDF. This can be confirmed by examining the trx file. If you import duplicate records to UD6 with the nokeycheck setting, then you will end up with duplicate copies of the same records in UD6.

Either remove the duplicate records from the TRX file before importing into UD6 or load the records without setting nokeycheck .

Additionally, if you will be using UD6/CMtool on a shared network drive (like Samba), then to improve the speed of the import, you may wish for the initial load to load all of the source onto a local disk before copying it to the server drive manually.

ADDITIONAL STEPS FOR UNIFACE 8

If you are initialising a Uniface 8 repository or upgrading a Uniface 7.2 repository to Uniface 8 you also need to specify this in your ASN file:

USYS$UD6_PARAMS = performance 239, nokeycheck, xmlschema ie5, mmf files 255

Or for an NLS environment:

USYS$UD6_PARAMS = performance 239, nokeycheck, xmlschema ie5, mmf files 255, mmf binary font 51 encoding ISO-8859-1, notrx

The setting performance 239 specifies that certain performance enhancements should be turned off. This is required to successfully initialise a UNIFACE 8 repository or perform an Upgrade Repository action in Uniface 8.

After the repository is initialised and upgraded this setting can be removed.

Steps to installing UD6

Step 3 Set the configuration files.
Step 4 Initialise a UD6/CMTOOL repository.
Step 5 Load in source code.

$Revision: 1.12.2.3 $ $Date: 2003/09/16 17:51:54 $[zum Seitenanfang]