STM Online Help: cstm Online Help (command-line interface)
Hit "Return" and the configuration will be restored from that file.
Top
RecordCmdFile
Syntax: recordcmdfile | rcf [description {<description string>}] [file {<full file path}]
By using this command, you can record the commands executed by the interface in a file you specify, or you can
toggle recording off. cstm operations are recorded as a series of commands which can be read by:
the RunCmdFile command
the -f initiation option, or
automatically from the .stmrc file.
A wait command is automatically inserted after each identify, verify, exercise, or diagnose operation, so that
operations executed sequentially at the time of recording, won't attempt simultaneous execution at playback time. You
may wish to edit the output file and remove some of these wait commands.
Description
The information you enter here will be saved as a comment in the command file.
For example, you might enter something like the following: "This command file verifies the disks and tapes."
File Category
You enter the path (i.e., directory) and filename of the command file to which you wish to save the commands you are
recording.
Hit "Return" and the commands being recorded will be saved to that file.
Top
StopRecordCmd
Syntax: stoprecordcmd | srcf
Use this command to disable recording of commands you are executing. The command is unavailable unless recording
is in progress.
Top
RunCmdFile
Syntax: runcmdfile | rncf [file {<full file path>}] [stop {yes|no}]
Use this command to have cstm read in and execute a sequence of commands saved by the RecordCmdFile command.
Alternatively, any sequence of cstm commands can be read and executed by this command.