SET

The SET commands allows you to turn on or off and set certain options.

In general, the format to turn the options on is:

 SET option

The format to turn off the options is:

 SET NOoption


The available options are: 

Option Description
BATCH Tells SHAZAM it is a Batch run.
BYVAR Turns on BYVAR for PRINT / WRITE but not READ.
CC Carriage control - some commands will skip to a new page.
CONTINUE An error may terminate a DO-loop. This option forces calculations to continue.
CPUTIME Prints the amount of computer time used in the run.
DELETE In Distributed Lag models SHAZAM automatically deletes a number of observations equal to the longest lag before estimation. Use SET NODELETE to disable this.
DOECHO Echos commands at each pass thru DO LOOP.
DUMP DUMPs a lot of output.
ECHO Echos SHAZAM commands.
GRAPH / The SET NOGRAPH command suppresses the display of
NOGRAPH gnuplot graphs.
LASTCOM Creates a variable called C$ which will contain the previous command typed.
LCUC Converts all lower case characters to upper case. Use SET NOLCUC to distinguish upper and lower case.
MAX Turns on maximum output.
NOCC Turns off the carriage control.
OPTIONS Turns on the display of all options for each command.
OUTPUT Turns on the output for all following commands. Use SET NOOUTPUT to suppress all output.
PAUSE Causes a pause after each command is executed.
RANFIX Prevents random number generator from being set by the system clock.
SAMPLE / NOSA MPLE Allows use of the omitted observations in expanded form of the SAMPLE command to be turned on and off.
SCREEN Echos the SHAZAM output to the terminal screen when the output has also been redirected to a file assigned to Unit 6. (Works on some computers)
SKIP Puts SKIPIFs back.
SKIPMISS Skips observations with a value equal to the MISSVALUE=
STATUS With some computers displays a status line.
TALK Tells SHAZAM you are at a terminal and are typing in SHAZAM commands interactively.
TERMINAL Tells SHAZAM you are at a terminal and commands have all ready been put in a file assigned to Unit 5.
TIMER Turns on the timer.
TRACE Traces subroutine flow.
WARN / NOWARN Warning messages are normally printed for illegal operations in GENR, MATRIX, IF, SKIPIF and ENDIF statements.
WARNMISS / NOWARNMISS On / off for messages about missing obs.
WARNSKIP / NOWARNSKIP Warning messages are printed for every observation skipped by a SKIPIF command.
WIDE WIDE assumes that up to 120 columns are available.
COMLEN=xxx Sets maximum length of command.
MAXCOL=xxx Specifes the maximum number of a column or observation used after a ":".
MISSVALU=XXX Specifies Missing value code, Default=-99999
OUTUNIT= When the output is going to more than one file.
RANSEED=xxx Sets the seed for the random number generator.

To turn on an option you would say something like SET DUMP. Then to turn it off you would say SET NODUMP.