Using UD7/XML-Data

Uniface accesses databases using intelligent drivers. These are divided roughly into 2 types:

Record level drivers consist entirely of fixed length fields. A record may look like:

ARTHUR……………..BARRETT………………MARCH.HARE……………

Field level drivers, by understanding each field as a separate object can represent the same information:

ARTHUR,BARRETT,MARCH HARE

In this sense the UD7 driver is a field level driver. It relies on Uniface’s ability to match records and maintain referential integrity. Internally it uses Physical Record Addresses (PRA’s) or Primary Keys to locate occurrences/records from the Uniface hitlist. A PRA of 20 corresponds to record number 20.

Use of the XML-Data/UD7 driver

The UD7 driver is designed to work with Microsoft Internet Explorer 5, and other XML tools. There are many options that can configure it to a particular task. These are set using the USYS$UD7_PARAMS assignment file setting.

Retrieve profiles

This section discusses the following instructions:

The where clause

The order by qualifier

The u_where clause

The selectdb instruction

where clause

The where clause is not supported.

order by qualifier

This is supported by Uniface for both ascending and descending ordering.

u_where clause

Uniface handles the u_where clause in all circumstances.

selectdb instruction

Uniface handles the selectdb instruction in all circumstances.

[ENTITIES] Section of Assignment File

Entity Mapping

This section explains how you can map entity names (filenames) using the [ENTITIES] section in a suitable assignment file.

Examples

To rename the entity (or filename if using a driver like CSV/UD8):

[ENTITIES]

colour.bridalwcolour.*

Copying data from one driver to another using the command line

IDF Copy Facility

This section explains how you can copy data using the UD7 driver and IDF command line options which you can set in the IDF command dialog box.

Examples

To copy from the default database to CSV/UD8:

/int=1000 /cpy def:colour.bridal ud7:

$Revision: 1.10 $ $Date: 2011/02/28 02:56:33 $[go to top]