SAC Command Reference Manual

MACRO

SUMMARY

Executes a SAC macro file and the startup/init commands when invoking SAC.

SYNTAX

MACRO name {arguments}

INPUT

name:The name of the SAC macro to execute.
arguments:The arguments (if any) of the macro.

DESCRIPTION

A SAC macro is a file that contains a set of SAC commands that you want to execute as a group. You can pass arguments to the macro, define default values for these arguments, evaluate blackboard and header variables within the body of a macro, etc. The macro file can be in the current directory, in a predefined directory you specify using the SETMACRO command, or in the global SAC macros directory: ${SACHOME}/macros/ .

SEE COMMANDS

SETMACRO, INSTALLMACRO

LATEST REVISION

May 15, 1987 (Version 10.2)