Using the DS CLI single-shot command mode

Use the DS CLI single-shot command mode if you want to issue an occasional command but do not want to keep a history of the commands that you have issued.

You must supply the login information and issue the command that you want to process at the same time. Perform the following steps to use the single-shot mode:
  1. Use the following command format to enter a DS CLI session (Windows operating system):
    dscli -hmc1 mtc032h.storage.tucson.ibm.com -user admin -passwd topn0t
     lssi -s -fullid -hdr off
    Here is an example of this same command in i5/OS without the report delimiters:
    DSCLI SCRIPT(*NONE) HMC1('9.5.17.156') USER(admin) PASSWORD(itso4all)
     DSCL(lssi)
    This command demonstrates the use of the lssi command with the -s parameter. Use this command to view the storage image IDs for your storage complex. The storage image ID consists of the manufacture name (IBM), the machine type (1750), and the serial number.
    Notes:
    1. The command example uses the -fullid DS CLI command flag. The -fullid command flag generates fully qualified IDs, which include the storage image ID, for every ID that is displayed in the command output.
    2. The command example also uses the -hdr off command flag which turns off the header that is generally associated with the report that is generated from the lssi command.
    3. Almost every DS CLI command requires the use of the storage image ID. If you add your target storage ID into your profile file under the -devid designation, you are not required to provide the storage image ID when you issue a command. However, if you do provide the -dev (storage_image_ID) parameter, the value that you type takes priority over the value contained in your profile file.
  2. Wait for the command to process. The following type of report is generated that lists the storage image IDs that are associated with the storage complex.
    IBM.1750-68FA111
    IBM.1750-68FA112
    IBM.1750-68FA120
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.