e01.org

TACL (programming language)

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

TACL (Tandem Advanced Command Language) is the scripting programming language which acts as the shell in Tandem Computers/NonStop computers. ==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. 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 , C, C++ , COBOL , SCOBOL , 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 ==References== ==Further reading== ==External links== NonStop G Series NonStop Computing Home – main Nonstop Computing page at Hewlett Packard Enterprise

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"TACL (programming language)". 1782943121. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1362107411

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·