Jump to content

TACL (programming language)

From Wikipedia, the free encyclopedia
TACL (Tandem Advanced Command Language)
Original authorTandem Computers
DeveloperHPE (Hewlett Packared Enterprise)
Release1970s
Written inTandem Application Language (TAL)
Operating systemNonStop OS
PlatformNonStop
Included withNonStop OS
Available inEnglish
Typecommand language and scripting programming language
LicenseProprietary

TACL (Tandem Advanced Command Language) is the scripting programming language which acts as the shell in Tandem Computers/NonStop computers.[1]

TACL overview

[edit]

TACL, an interpreted language, is the default scripting language on NonStop systems. HPE later introduced a ksh-based shell command interface, however this does not contain every capability offered by TACL. TACL built-ins reflect the multi-CPU nature of the NonStop Operating System.

TACL instructions can be stored in a simple text file as MACROS, ROUTINES, or DEFINES which the TACL interpreter can execute as scripts.[2] Such scripts are often used to store complex configuration instructions such as start-up and hardware configuration sequences. TACL is also used as a job control language for batch jobs.

The TACL language has a large number of built-in utilities which allow the user to capture and parse output from various system utilities. This allows users to build TACL programs that can monitor system events through the use of filters that monitor the system and application event logs.

Compilers for other languages (including TAL, Java[3], C, C++[3], COBOL[4], SCOBOL[4], etc.) may be used to support functions in languages other than TACL.

Example uses of TACL

[edit]

A TACL routine saved in the file FILE1

[edit]

Create the following subroutine in the file FILE1:

?Section HELLO_BERNARD ROUTINE
#OUTPUT Hello BERNARD

How to run the TACL routine:

  1. From a TACL prompt type: LOAD / KEEP 1 / FILE1 (this loads the routine into memory)
  2. Type: HELLO_BERNARD (this runs the routine)
  3. Output will be: Hello BERNARD

TACL code in the file FILE1

[edit]

An alternate strategy is to create a file named FILE1 and add the following two lines:

?TACL ROUTINE
#OUTPUT Hello BERNARD

Execute the routine by naming the file at the TACL prompt:

> RUN FILE1

See also

[edit]

References

[edit]
  • "Business Support Center: Manuals". Hewlett-Packard Development Company.
  1. "HP Integrity NonStop BladeSystem NB50000c - overview". Hewlett-Packard Development Company. 2001. Archived from the original on 7 March 2012. Retrieved 12 October 2012.
  2. TAL Programmer's Guide. Cupertino, California: Tandem Computers, Incorporated. 1993. Appendix E.
  3. 1 2 "Engineered for the highest availability – HPE NonStop family of systems brochure" (PDF). p. 10.
  4. 1 2 Kim, Won (29 March 1984). "Highly Available Systems for Database Applications". ACM Computing Surveys. 16 (1): 71–98. doi:10.1145/861.866. ISSN 0360-0300. Retrieved 26 August 2025.

Further reading

[edit]
[edit]