Command—wait - 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 wait command causes all command activity to wait until a particular job completes. It effectively blocks the command line until the job is finished. For jobs that require a loaddata operation, the command line waits only until the "Load Data" activity is finished. Subsequent analysis jobs are ignored.

Syntax

wait <job>

where <job> can be either a command that specifies a job or a variable that references the command.

Example

This example shows how to specify a loaddata command as part of the wait command.

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

You can create a variable for the loaddata job and then use the variable in the wait command. This blocks the command line until the loaddata job completes.

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