Getting Started with TRANSACT (32247-90007)
14 Chapter1
Getting Started
Compiling and Executing Transact Programs
Compiling and Executing Transact Programs
Transact programs are written using an editor such as EDIT/V or TDP. The source is then
compiled using TRANCOMP and the resulting program is executed using TRANSACT.
If you are using DICTIONARY/V to hold the definition of your database, TRANCOMP
expects the dictionary to be called DICT and to reside in the PUB group. However, you can
override this by issuing a file equate before running TRANCOMP, such as:
FILE DICT.PUB=dictname[.group]
Figure 1-1 shows the steps used to compile and execute a TRANSACT program. After the
discussion of compiling and executing programs in complete, the same program used in
Figure 1-1 is displayed in Figure 1-2, where it is accompanied by a line-by-line
explanation.