Command—wait - 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 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