Command—createentity for Trillium Files - trillium_discovery - trillium_quality - 17.1

Trillium DQ Repository Administrator Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Discovery
Trillium > Trillium Quality
Version
17.1
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium DQ Repository Administrator Guide
Topic type
Administration
Overview
How Do I
Configuration
Reference
Installation
First publish date
2008

You can create a dynamic entity using Trillium files that are created as output by the Trillium Quality application.

Before you issue the createentity command, create a loader connection for the DB2 or Oracle data source. The loader connection specifies where the data source files are located and allows the createentity command to connect to the data source and initiate the entity creation process. (For information about creating a loader connection, see Loader Connections).

Required Syntax

createentity <loader_connection> datafile <filename> 

where ,

<loader_connection>

Name assigned by the repository administrator to the loader connection.

<filename>

Name of the Trillium file that contains the data.

Optional Parameters

Parameter

Description

username <user_name>

User ID required to validate the connection to the data source.

Use this parameter if a login name and password are required.

Do not use the username and password parameters if the mtb_admin user is the data file owner.

password <password>

Password required to validate the connection to the data source.

Use this parameter if a login name and password are required.

schemafile <filename>

Name of the schema file that corresponds to the Trillium file you specified as the data file.

jobname <job_name>

Job ID or name of the data load job.

skip <number>

Number of rows to skip before starting to import data rows. All rows after the skipped rows will be loaded to the repository. For example, if your file has 300 rows and you select to skip the first 99, the system will load 200 rows, starting with the 100th row.

first <number>

Number of records from the beginning of the file (for example, the first 1000 records) to load.

random <percentage>

The degree to which you want to randomly sample a percentage of records from the file.

Example

This command uses a loader connection called trilconn and creates an entity by loading data from the testtril file. 

createentity trilconn datafile testtril schemafile testrill.ddt jobname trilliudyn1