starting, and stopping build serversº on page 137 for more information.) It is recommended that you follow a naming convention for this attribute, using values such as os2 and mvs.

Comparison operator and RC value

Together, these two attributes make up a Boolean expression that de®nes the criteria used to decide whether a speci®c build event was successfully accomplished, when evaluated against the value returned by the build script.

(The Comparison operator and RC value ®elds on the GUI correspond to the -conditionand -valueattributes in the command.)

The values allowed for Comparison operator are as follows:

vEQ or == - Equals

vLT or < - Less than

vLE or <= - Less than or equals

vGT or > - Greater than

vGE or >= - Greater than or equals

vNE or != - Not equal to

RC value can be any positive integer. An example of a Boolean expression formed from these two attributes is return_value LE 4, meaning that the build event is considered a success if the build script returns a value less than or equal to four.

Parameters

This is a string passed to the build script as its argument. If the string includes blanks, enclose the string in double quotes. For example, for a builder used for VisualAge C++ compiling, you might specify a parameter string of "/Ss /Ge-".

If the string includes a double quote, precede the double quote with a backslash (\). If the string includes a dash (-), precede the dash with a blank space, otherwise the string is interpreted as the start of a TeamConnection action ¯ag.

Timeout

This attribute speci®es the number of minutes that a build server will be allowed to complete a build event after it receives the build job from the TeamConnection family server. The default is 1440 minutes (24 hours). If the build event does not complete within this time, the build event fails.

Writing a build script

When you create a builder, you must specify a build script. The build script actually invokes the transformation tool and passes it parameters de®ned in theParameters attribute of the builder.

150User's Guide

Page 170
Image 170
IBM SC34-4499-03 manual Writing a build script, Comparison operator and RC value, Parameters, Timeout