HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)

4-146
Scope: Any
Example
The following example lists all the currently active macros.
>SHOWMACRO
OPEN
CREATE-FILE
CREATE-RECORD
CREATE-ELEMENT
CREATE-FILE-RT
CREATE-RECORD-RT
REPORT-FILE
REPORT-ELEMENT
REPORT-RECORD
BYE
>
SHOWREDO
Displays a list of all the commands that are currently on the redo history stack.
Syntax
S[HOW]R[EDO] [.]
Description
The list that SDMAIN displays lists the text of the commands with each marked with a number. You can
then use either the numbers to produce a relative or absolute reference to a previous command or the
command itself to issue a character string qualification to a previous command.
Example
The following example lists all of the commands that are currently on the redo history stack.
>SHOWREDO
1. FORMAT
TITLE = "Monthly Report".
2. OPTIONS ALIGNMENT = ALIGNED.
3. REPORT ENTITY; ENTITY-TYPE = ELEMENT;
LIST = ATTRIBUTES, COMMON, SCOPES, VERSIONS.
4. HELP SHOWREDO
5. SHOWREDO