RESET Statement

RESET <options> ;

The RESET statement sets processing options. The options are described in the following list. Note that the prefix NO turns off the feature where indicated. For options that take operands, the operand should be a literal, a name of a matrix that contains the value, or an expression in parentheses. The SHOW OPTIONS statement displays the current settings of options.

AUTONAME | NOAUTONAME

specifies whether rows are automatically labeled ROW1, ROW2, and so on, and columns are labeled COL1, COL2, and so on, when a matrix is printed. Row-name and column-name attributes specified in the PRINT statement or associated via the MATTRIB statement override the default labels. The AUTONAME option causes the SPACES option to be reset to 4. The default is NOAUTONAME.

CENTER | NOCENTER

specifies whether output from the PRINT statement is centered on the page. The default is CENTER. This resets the global CENTER/NOCENTER option for the SAS session.

CLIP | NOCLIP

specifies whether SAS/IML graphs are automatically clipped outside the viewport; that is, any data falling outside the current viewport are not displayed. NOCLIP is the default.

DEFLIB=operand

specifies the default libref for SAS data sets when no other libref is given. This defaults to USER if a USER libref is set up, or WORK if not. The libref operand can be specified with or without quotes.

DETAILS | NODETAILS

specifies whether additional information is printed from a variety of operations, such as when files are opened and closed. The default is NODETAILS.

FLOW | NOFLOW

specifies whether operations are shown as executed. It is used for debugging only. The default is NOFLOW.

FUZZ <=number> | NOFUZZ

specifies whether very small numbers are printed as zero rather than in scientific notation. If the absolute value of the number is less than the value specified in number, it is printed as 0. The number argument is optional, and the default value varies across hosts but is typically around 1E$-$12. The default is NOFUZZ.

FW=number

sets the field width for printing numeric values. The default field width is 9.

LINESIZE=n

specifies the linesize for printing. The default value is usually 78. This resets the global LINESIZE option for the SAS session.

LOG | NOLOG

specifies whether output is routed to the log file rather than to the print file. On the log, the results are interleaved with the statements and messages. The NOLOG option routes output to the OUTPUT window in the SAS windowing environment and to the listing file in batch mode. The default is NOLOG.

NAME ÑONAME

specifies whether the matrix name or label is printed with the value for the PRINT statement. The default is NAME.

PAGESIZE=n

specifies the pagesize for printing. The default value is inherited from the SAS environment. Changing the

PAGESIZE=

option also changes the global PAGESIZE option.

PRINT | NOPRINT

specifies whether the final results from assignment statements are printed automatically. NOPRINT is the default.

PRINTADV=n

inserts blank lines into the log before printing out the value of a matrix. The default, PRINTADV=2, causes two blank lines to be inserted.

PRINTALL | NOPRINTALL

specifies whether the intermediate and final results are printed automatically. The default is NOPRINTALL.

SPACES=n

specifies the number of spaces between adjacent matrices printed across the page. The default value is 1, except when AUTONAME is on. Then, the default value is 4.

STORAGE=<libref.>memname;

specifies the file to be the current library storage for STORE and LOAD statements. The default library storage is WORK.IMLSTOR. The libref argument is optional and defaults to Sasuser. It can be specified with or without quotes.