Use the DS CLI interactive command mode when you must process multiple transactions that cannot be incorporated into a script. The interactive command mode provides a history function that makes repeating or checking prior command usage easy to do.
In addition to being able to enter DS CLI commands at the DS CLI command prompt, a history function provides a view of the last DS CLI commands that you have used. It also allows you to repeat any of the last commands more quickly than having to type out the entire command. The example at the end of this process shows how the history function works.
The Windows platform allows the user to retrieve prior commands by using the up arrow, but this is a feature of the Windows platform and is not built into the DS CLI. While other platforms might not allow the up arrow feature, all of the supported platforms have the history function described here.
Complete the following steps to use the DS CLI in the interactive command mode:
[4] lsarraysite -dev IBM.2107-1300771
[3] lsarray -dev IBM.2107-1300771
[2] lsextpool -dev IBM.2107-1300771
[1] lsextpool -dev IBM.2107-1300771