TACL-TANDEM ADVANCED COMMAND LANGUAGE

TACL-TANDEM ADVANCED COMMAND LANGUAGE

TACL is the standard command interface to the TANDEM nonstop Kernel .In addition of providing the command interface facility; TACL is a high level programming language.

TACL consists of commands, built-in-variables and built-in functions.

  • Command is used for interactive work.

  • Built-in functions is used for programmatic work and

  • Built-in variables are used to store environmental information.

As a programming language TACL is used to automate system startup and shutdown procedures, run utilities, control subsystem operation, communicates with EMS (event management service).

TACL MAIN FEATURES

  • System Access & Information.

  • File Handling.

  • Utility Execution.

  • Built-In Functions.

  • TACL Commands.

  • TACL Variables.

  • Process Execution.

TACL MACROS

Macro is a type of TACL variable .A Macro variable contains TACL statements. When TACL encounters a macro name it replaces the macro name with the entire contents of the macro and interprets it, performing the specific work.

A Macro is generally used when there is limited need for the validation of the arguments.

TACL ROUTINE

A Routine is also a type of tacl variable .A Routine variable contains TACL statements. When TACL encounters a routine, it executes the routine and replaces the invocation with the results returned by the routine.

Within a TACL routine we can,

  • Use #ARGUMENT to check the syntax & validity of several types of arguments or to parse data within your program.

  • Use #RESULT to return a specific result (instead of an expansion of text).

  • Use #ROUTINENAME to obtain the name of the active routine, for issuing recursive calls.

  • Use #RETURN to exit from any location in the routine.

MOST FREQUENTLY USED

  • WHO

  • LOGON

  • RELOAD

  • OBEY

  • VARTOFILE

  • FILETOVAR

BUILT-IN FUNCTIONS & VARIABLES

  • #FILEINFO

  • #ARGUMENT

  • #APPEND

  • #COMPAREV

  • #OUTPUT

  • #COMPUTE

  • #IN

  • #OUT

  • #MYTERM

Leave a Reply

Your email address will not be published. Required fields are marked *