Command—set - trillium_discovery - trillium_quality - 17.2

Trillium DQ Repository Administrator Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Quality
Trillium > Trillium Discovery
Version
17.2
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium DQ Repository Administrator Guide
First publish date
2008
Last updated
2024-07-01
Published on
2024-07-01T08:53:20.448228

The set command assigns a variable. When you use a variable created by the set command, the variable must be preceded by a $ (dollar sign) notation.

Syntax

set <variable> [<mtb_admin_command>]

where <variable> is the variable name and <mtb_admin_command> indicates the mtb_admin operation that the variable will reference.

Examples

This command assigns a variable to a loaddata operation.

set thisjob [loaddata delim_conn datafile usdata.txt attr names delimiter . quote \" terminator crlf]

The variable can then be used to obtain details about the operation using this command:

job $thisjob

This example assigns a variable to a createentity operation.

set myentity [createentity delim_conn datafile usdata.txt attr reps delimiter . quote \"]