Command—set - trillium_discovery - trillium_quality - Latest

Trillium DQ Repository Administrator Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Discovery
Version
Latest
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium DQ Repository Administrator Guide
Copyright
2024
First publish date
2008
Last updated
2024-10-18
Published on
2024-10-18T15:31:00.219841

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 \"]