TACL (programming language)
Template:Short description Template:About Template:More citations needed {{#invoke:Infobox|infobox}}Template:Template other {{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Infobox software with unknown parameter "_VALUE_"|ignoreblank=y| AsOf | author | background | bodystyle | caption | collapsetext | collapsible | developer | discontinued | engine | engines | genre | included with | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo class | logo size | logo title | logo upright | logo_alt | logo_caption | logo_class | logo_size | logo_title | logo_upright | middleware | module | name | operating system | operating_system | other_names | platform | programming language | programming_language | qid | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot class | screenshot size | screenshot title | screenshot upright | screenshot_alt | screenshot_class | screenshot_size | screenshot_upright | service_name | size | standard | title | ver layout | website }}Template:Main other{{#invoke:Check for conflicting parameters|check | template = Template:Infobox software | cat = Template:Main other | logo size; logo_size | logo class; logo_class | logo alt; logo_alt | logo title; logo_title | logo caption; logo_caption | screenshot size; screenshot_size | screenshot upright; screenshot_upright | screenshot class; screenshot_class | screenshot alt; screenshot_alt | screenshot title; screenshot title | latest release version; latest_release_version | latest release date; latest_release_date | latest preview version; latest_preview_version | latest preview date; latest_preview_date | latest release version; latest_release_version | latest release date; latest_release_date | latest preview version; latest_preview_version | latest preview date; latest_preview_date | programming language; programming_language | operating system; operating_system }} TACL (Tandem Advanced Command Language) is the scripting programming language which acts as the shell in Tandem Computers/NonStop computers.[1]
TACL overview
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
A TACL routine saved in the file FILE1
Create the following subroutine in the file FILE1:
?Section HELLO_BERNARD ROUTINE #OUTPUT Hello BERNARD
How to run the TACL routine:
- From a TACL prompt type: LOAD / KEEP 1 / FILE1 (this loads the routine into memory)
- Type: HELLO_BERNARD (this runs the routine)
- Output will be: Hello BERNARD
TACL code in the file FILE1
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
References
- {{#invoke:citation/CS1|citation
|CitationClass=web }} Template:Refend Template:Reflist
Further reading
External links
- NonStop G Series
- NonStop Computing Home – main Nonstop Computing page at Hewlett Packard Enterprise
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ Template:Cite book
- ↑ 3.0 3.1 {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ 4.0 4.1 Template:Cite journal