How to Use the Command Buffer to Recall and Execute Previously Entered CA Roscoe Commands
To recall a command back to the command line
- Enter STATUS COMMAND on the CA Roscoe command line to get a list of the commands, monitor commands and RPFs you just executed. [Optional]
- Type the displayed number preceded by the + sign.
- Or-- just type + followed by the number of commands you want to go back.
- Then hit enter to execute the command.
This is sample output from STATUS COMMAND with duplicate commands displayed. This is the default.
COMMAND BUFFER IS 256 BYTES LONG AND CONTAINS 16 COMMANDS (SAVE DUPS = Y)
A D ROSCOE.RO60.SAMPJCL(MRO6030)
To use the recall feature, for example, type +3
This will recall
A D ROSCOE.RO60.SAMPJCL(MRO6030) to the Roscoe command line. Hit enter to execute it.
If you do not want to display duplicate commands, you can change this setting by issuing the STA(TUS) SESSION command. On the right hand side of the screen there is a parameter DUCPR, simply overtype this entry with an "N" or NO..
ROSCOE SESSION STATUS
ALLRECALL ==> NOWAIT ATTACH ==> NOPAUSE
AUTOFF ==> 240 ON AUTOINDENT ==> OFF
AUTOINSERT ==> 1 OFF AWS TRANS ==> N
CHAR SET ==> US ENGLISH CHAR TRANS ==> B
CMD LINE ==> 3 1 COPYDEST ==> (NONE)
CURREC ==> N/A DATE FMT ==> AMERICAN SHORT
DELIMITER ==> & DSNCMLST ==> ERROR
DSNCNT ==> 100000 DSNEMPTY ==> OFF
DSNRECALL ==> NOWAIT DUPCR ==> YES <======