The inputs for both procedures and processes consist of the following:
$RUNTYPE flag indicating batch, asynchronous or synchronous
$SESSION - the session identification
$SWITCH - the programmer-settable debug switch
$SFI - the success/fail indicator
$SKEY - the status key.
See Section 3.3.2 for a discussion of global variables and these implicitly referenced variables.
_PROC - The name of the proc.
_SUBCMD - The active subcommand.
_STDOUT - Standard output file name.
_ONFAIL - Command to be executed upon error.
See Section 3.3.2.7.2 for a discussion of implicit locals.
The outputs of a proc are:
A process may update a referenced global variable using the XQ package (Section 3.1 of the "TAE Command Language (TCL) Runtime Services, Volume 2: FORTRAN") the q_ package (Section 3.9 in the "TAE Command Language (TCL) Runtime Services, Volume 1: C") the Vm_ package (in "TAE Plus Programmer's Manual" and "TAE Plus C Reference Manual"), the Tae_vm package (Appendix C of the "TAE Plus Ada Reference Manual"), or the TaeVar class in the "TAE Plus C++ Programmer's Manual".
A procedure may update a global using the LET command.
A process sets these variables upon process exit (through subroutine XZEXIT) and a procedure sets these variables using the LET or RETURN commands.
A process sets these parameters through the XQ, q_ Vm_, tae_vm or TaeVar packages. A procedure sets these variables using the LET command.
The "standard output" is the file or device that receives outputs that are, in interactive mode, usually written to the terminal. The standard output is used for:
The standard output device varies as follows:
The listing of the VMS DCL commands which activate TAE and the output of DCL commands executed under TAE are lost by default for a batched proc. If the TCL command "SWITCH 2" is executed prior to the submission of a proc to batch, two files, proc.TML, and proc.SPL, are produced in addition to the standard log file. See Appendix A.2.7.3 for details.