COBOL Manual for TNS and TNS/R Programs
Creating and Compiling HP COBOL Source
Programs
HP COBOL Manual for TNS and TNS/R Programs—522555-006
22-12
HP Tandem Extensions for Codewright (TEC)
Dictionaries and Templates
TEC maintains four project dictionaries: user, parameter, class, and system.
Information can be stored and retrieved from these dictionaries and used in
conjunction with comment generation (see Comment Headers and Parameter
Documentation).
You can define text templates that contain values for function parameters. The values
are defined when you insert the template into the dictionary. When you direct TEC to
call a function, TEC calls it with the parameter values that you specified.
Chromacoding
Language-dependent chromacoding enables you to select colors to enhance the
visibility of comments, keywords, strings, numbers, preprocessor commands, changed
lines, and braces. You can set the colors you select in Document Preferences in TEC
version 3.0.
Project Definition
In addition to the basic project information supplied by Codewright itself, TEC allows
you to define and change a set of dictionary specifications and search directories to
facilitate locating source files.
Viewing Source Files
TEC allows you to view or collapse source files by function, #PRAGMA, paragraph, or
normal view. This feature helps you to locate code quickly by higher-level code
segments and to provide a call map of the selected module. After you have located the
code, you can return the source program to its normal expanded view.
Comment Headers and Parameter Documentation
TEC allows you to automatically create and maintain information in comment boxes,
particularly for the beginning and end of each module. After you have entered
parameters into the parameter/comment dictionary (by pointing and clicking), TEC
automatically retrieves their definitions for building other parameter list comment
boxes.