Chapter Contents

Previous

Next
Command Directory

undef

Undefine a Debugger Macro

ABBREVIATION
u{ndef}

FORMATS
Format 1: undef MACRO-NAME
Format 2: undef *

DESCRIPTION
The undef command drops debugger macro definitions, which are defined with the define command. After undef removes the definition, any further attempts to use the macro name produce a diagnostic message.

Format 1: Format 1 removes a single definition specified by MACRO-NAME.

Format 2: Format 2 removes all debugger macro definitions.

A debugger macro can be redefined by issuing another define command for the same macro, but with new substitution text. You do not need to use the undef command on a macro before redefining it.

EXAMPLES

undef mac1
undefines the debugger macro mac1 previously defined with the define command.

undef *
undefines all debugger macros.

SYSTEM DEPENDENCIES
none

COMMAND CAN BE ISSUED FROM

PROFILE yes
configuration file no
Source window prefix none

SCOPE
The undef command is not affected by changes in scope.

RETURN CODES SET
Successful: 0
Unsuccessful: 1

SEE ALSO
define


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.