SECTION 3 -- TAE COMMMAND LANGUAGE

This section describes the TAE Command Language (TCL). TCL has the following general capabilities:

3.1 OVERVIEW OF TCL PROCESSING

The basic unit of execution in TCL is the command string. A TCL command string may be a TCL intrinsic command or a proc invocation. The TCL intrinsic commands are listed in Table 3-1.

TAE obtains a command string from a command line source and determines whether the string is a TCL intrinsic command or a proc invocation. If the string is a proc invocation, TAE locates the PDF and executes the proc.

Procedures may contain invocations of other procedures. Commands received from the interactive user are said to be executing on the "primary level." A procedure invoked from the primary level executes at "level 1." A procedure executing on level 1 may invoke another procedure, which executes at level 2, and so on.

Details on TCL commands commonly used at the interactive level, and details on proc invocation are supplied in the "TAE Command Language (TCL) User's Manual." Details on TCL commands primarily used in procedures are described in the following sections.



TABLE 3-1

TCL Intrinsic Commands

Command Type Description
ABORT U TerminateProc
BATCH U Manipulate Batch Queue
BODY P Procedure Body Introduction
BREAK P Terminate Loop
COMPILE U Compile PDF
CONTINUE U Continue Proc
DEFCMD U Define Command
DELCMD U Delete Command
DELETE U Delete Global/Local Variables
DISABLE U Disable Logging, Script, Interrupts
DISPLAY U Display Variable Value
ELSE P IF Bracket
ELSE-IF P IF Bracket
EMIT P Transfer Asynchronous Job Status
ENABLE U Enable Logging, Script, Interrupts
END-FOR P FOR Loop Bracket
END-GLOBAL P Global Variable Declaration Bracket
END-IF P IF Bracket
END-LOOP P LOOP Bracket
END-PROC P PDF Termination Bracket
END-SUBCMD P Subcommand Bracket
EXIT U Terminate TAE
FOR P FOR Loop Definition
GETPAR P Get a Parameter Dynamically
GLOBALS P GLOBAL PDF Introduction
GOTO P Branch
HELP U Obtain Help Information
IF P Conditional Test
LET U Set Variable
LOCAL P Define Local
LOGOFF U Logoff of TAE
LOOP P Loop Definition
MENU U Enter Menu Mode
NEXT P Iterate Loop
NOP P No operation
PARM P Parameter Definition
PARMSET P Parameter Set PDF Introduction
PROCEDURE P Procedure PDF Introduction
PROCESS P Process PDF Introduction
UTMSG P Ut Message
RECVAR P Receive Variables From Another Job
REFGBL P Reference Global
REMOVE U Delete job from ASYNC list
REPLY U Reply to ASYNC dynamic request
RESTORE U Restore Variables
RETURN P Terminate Proc
RUN U Continue from Dynamic Session
SAVE U Save Variables
SENDVAR P Send Message to Another Job
SETLIB U Set Library Order
SHOW U Show Status
STOP P Terminate all Nesting Levels
SUBCMD P Subcommand Definition
SWITCH P Set Switch Bits
TUTOR U Enter Tutor Mode
WAIT U Wait on Termination of ASYNC job
WPT P TAE Plus Window Programming Tools
U = Described in "TAE Command Language (TCL) User's Manual"

P = Described in this manual (The TAE Command Language (TCL) Programmer's Manual")