To use the builder from a previous release, you can link to a part that uses it in the previous release. This action copies the builder to the new release. Otherwise, you must create it again in the new release.

Script, File type, and Source ®le

These ®elds work together to de®ne the build script that the builder invokes to

accomplish the transformation. (The File type ®eld on the GUI corresponds to -text, -binary, and -nonein the command. The Source ®le ®eld on the GUI

corresponds to the -fromattribute in the command.)

You must ®rst create a separate ®le containing the build script. All MVS build scripts must be written using JCL statements and the TeamConnection syntax described in ªWriting an MVS build scriptº on page 163. You can store the build script one of two ways:

vTo store the build script as part of the builder: specify the fully quali®ed

path name of your build script ®le as the source ®le, and specify the ®le type as text. When the builder is created, this source ®le is stored as part of it in the TeamConnection database.

During a build, the build server creates and runs a local version of this ®le. Specify the name you want for this local ®le in theScript ®eld. For example, you might specify these values:

File type text

Script fhbc

Source ®le C:\build\script\fhbc.jcl

When this builder is created, the contents of C:\build\script\fhbc.jcl are stored in the builder. When this builder is invoked, TeamConnection creates a ®le named FHBC in the data set referenced by the TEAMPROC ddname, writes the build script into this ®le, and then runs it.

vTo store the build script on MVS: create the build script ®le and place it in the data set allocated to the TEAMPROC ddname in the RUNPGM JCL ®le. When you do this, specify the following attributes:

File type none

Script fhbc

Do not specify a source ®le.

vIf the builder is being used to only collect a set of build objects (for example, a VisualAge Generator collector part), specify these values:

File type none

Script null

Chapter 13. Working with MVS build scripts and builders 161

Page 181
Image 181
IBM SC34-4499-03 manual Script, File type, and Source le, File type none Script fhbc, File type none Script null