SQL/MP Report Writer Guide
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction to the NonStop SQL/MP Report Writer
- 2 Using SQLCI and the Report Writer
- 3 Selecting Data for a Report
- 4 Customizing a Report
- Defining the Layout
- Specifying the Items in a Detail Line
- Naming Select List and Detail Line Items
- Organizing Rows Into Break Groups
- Labeling Information
- Formatting Data Values
- Formatting Dates and Times
- Using TACL to Pass Parameters
- Conditional Printing of Items or Line Entries
- Redefining Special Characters
- Calculating Totals
- Calculating Subtotals
- Printing Double-Byte Characters
- A Comparison of the Report Writer and the Enform Language
- Index

Using SQLCI and the Report Writer
HP NonStop SQL/MP Report Writer Guide—527213-001
2-14
Executing a Command Repeatedly
Repeating Stored Commands
You can use the FC and ! commands to repeat a command you have entered during
your SQLCI session. The exclamation point command repeats a command but does
not allow you to modify it. The FC command allows you to edit the command before
reexecuting it.
To execute a previous command that begins with the text SELECT P, enter the
following:
>> ! SELECT P
SQLCI displays and executes the command:
>> SELECT PARTNUM, QTY_AVAILABLE
+> FROM SALES.PARTS;
Figure 2-9 shows two examples of repeating commands. The first example shows how
to revise a command and reexecute it by using the FC command. Enter sufficient text
to distinguish the command from other previously entered commands.
The second example in Figure 2-9 shows how to display the last seven commands and
reexecute command number three by using the HISTORY command. You can use the
HISTORY command to display up to 25 of the most recently executed commands.