

Managing Model Objects › Editing Model Object Lists › Using Special Command Line Values to Retrieve Commands › Examples
Examples
- To retrieve the first previous command that begins with the characters 'wrk', type the following on the command line and press Enter.
*LAST WRK
Note that *last wrk, *L wrk, and < wrk all give the same result.
You can repeat the last search you entered by specifying '*' instead of the search string. To retrieve the next previous command beginning with 'wrk', type the following on the command line and press Enter.
*FIRST *
- To retrieve the third command from the beginning of the command sequence containing the characters 'uuae', type the following on the command line and press Enter.
>> 3 uuae
Note that *scanf 3 uuae, *SF 3 uuae, and >>3UUAE all give the same result.
To retrieve the next command containing 'uuae', in other words to repeat the search, type the following on the command line and press Enter. Note that in this case the first matching command, not the third, is retrieved.
>> *
You can also use the '*' to repeat the search in reverse chronological order as follows. To retrieve the first previous command containing 'uuae' type the following on the command line and press Enter.
<< *
- You can use one or more '?' to specify a wild character in the search string. To find the first previous command containing 'uu' followed by any two characters followed by 'srr', type the following on the command line and press Enter.
<<uu??srr
- To retrieve the first previous command containing the numbers '397', type the following on the command line and press Enter.
<< 1 397
Note that you need to include the '1' to indicate the first occurrence. This is needed to distinguish between the optional numeric value and the numeric search string.
Typing <<1397 gives the same result.
- To execute a command but not place it in the command sequence, type the following on the command line and press Enter. This is useful to prevent commands you will not need again from cluttering the command sequence.
– dspmsg
Note that –dspmsg gives the same result.
- To place a command in the command sequence but not execute it, type the following on the command line and press Enter. This is useful to prepare complicated or partially complete commands that you can retrieve later.
+cpyf fromfile(myfile) tofile(yourfile)
Copyright © 2014 CA.
All rights reserved.
 
|
|