Jump to content

TACL (programming language): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Additional information relating to TACL
No edit summary
Line 6: Line 6:


The TACL language has a large number of Built-in utilities which allow the user to capture output from various system utilities and parse the captured text, line by line or character by character. 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.
The TACL language has a large number of Built-in utilities which allow the user to capture output from various system utilities and parse the captured text, line by line or character by character. 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.



Example of a TACL routine saved in the file FILE1:
Example of a TACL routine saved in the file FILE1:



?TACL HELLO_WORLD ROUTINE
?TACL HELLO_WORLD ROUTINE

#OUTPUT Hello World
<nowiki>#</nowiki>OUTPUT Hello World


How to run the TACL routine:
How to run the TACL routine:


1. From a TACL prompt type: LOAD / KEEP 1 / FILE1 (this loads the routine into memory)
1. From a TACL prompt type: LOAD / KEEP 1 / FILE1 (this loads the routine into memory)

2. Type: HELLO_WORLD to run the routine
2. Type: HELLO_WORLD to run the routine

3. Output will be: Hello World
3. Output will be: Hello World

Revision as of 03:51, 27 November 2005

TACL (the Tandem Advanced Command Language) is the scripting programming language used in Tandem Computers. Tandem Computers were originally designed and sold by Tandem Computers, Inc., based in Cupertino, CA. Tandem's strategy was the emerging concept of "continuous availability" that relied on redundant hardware and a well engineered operating system (NonStop Kernel or NSK) to ensure continuous application availability by ensuring the system could survive any single point of hardware failure. Tandem was purchased by Compaq Computer Corporation in 1997. Compaq eventually merged with Hewlett Packard.

TACL continues to be the scripting language used on Hewlett Packard NonStop Servers. NonStop servers are utilized by many of the largest banks and stock exchanges all over the world.

TACL is interpreted. TACL instructions can be stored in a simple text file as MACROS, ROUTINES, or DEFINES to make scripts. Such scripts are often used to store complex configuration instructions such as start-up and hardware configuration sequences.

The TACL language has a large number of Built-in utilities which allow the user to capture output from various system utilities and parse the captured text, line by line or character by character. 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.


Example of a TACL routine saved in the file FILE1:


?TACL HELLO_WORLD ROUTINE

#OUTPUT Hello World

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_WORLD to run the routine

3. Output will be: Hello World