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-11
HP Tandem Extensions for Codewright (TEC)
HP Tandem Extensions for Codewright (TEC)
Starbase Corporation’s Codewright is a smart language editor that allows you to edit
source code and issue compiler, version-control, and operating-system commands.
The base editor facilitates source code creation with keyword chromacoding, search
and replace mechanisms, function execution, undo and redo commands, and general
editing capabilities. Codewright blends a command shell with its own tools, and you
can easily extend it to work with other third-party tools or dynamic link libraries that you
build with your own compiler language. HP has taken advantage of this extensibility to
create HP Tandem Extensions for Codewright (TEC).
The main features of TEC are:
•
Language-Sensitive Programming Support
•
Dictionaries and Templates
•
Chromacoding
•
Project Definition
•
Viewing Source Files
•
Comment Headers and Parameter Documentation
More information on TEC is available through its online help.
Language-Sensitive Programming Support
TEC provides language-specific menus to support the coding of these HP languages:
•
HP C and HP C++
•
COBOL
•
pTAL and TAL
•
TACL
When you open a source file, the appropriate language-specific menu appears on the
menu bar.
For all languages, you can search (GREP) commands in the file, keywords are
chromacoded (see Chromacoding), and you can save function call parameters in the
dictionary for later use (see Dictionaries and Templates).
For HP C and HP C++, you can create or insert modules or work with #PRAGMAS and
#INCLUDES. For HP C++, you have additional support for creating classes and class
members.
For COBOL, you can view source code by paragraph and search (GREP) by
paragraph.
For pTAL and TAL, you can generate HP C prototypes from TAL procedures by
pointing and clicking; insert ?PROC, ?SECTION, or ?PAGE; and check references.