COBOL Manual for TNS/E Programs (H06.03+)
Creating and Compiling HP COBOL Source
Programs
HP COBOL Manual for TNS/E Programs—520347-003
22-2
Displaying Previous Commands
Displaying Previous Commands
TACL maintains a chronological log of previously entered commands, which you can
display with the HISTORY command. Suppose that you have entered these TACL
commands (notice the command number in each of the prompts):
1> who
2> fileinfo
3> view myfile
4> history
Command 4, history, displays:
1> who
2> fileinfo
3> view myfile
4> history
5>
If you enter a question mark (?), TACL displays the last command:
5> ?
5> history
5>
If you enter a question mark followed by a number, TACL displays the command with
that number:
5> ?2
5> fileinfo
5>
If you enter a question mark followed by text, TACL displays the most recent command
that begins with that text:
5> ?v
5> view myfile
5>
Reexecuting Previous Commands
If you enter an exclamation mark (!), TACL displays and executes the last command:
5> !
5> history
1> who
2> fileinfo
3> view myfile
4> history
5> history
6>










