storagePartition512 | storagePartitionMax | flashcopy | flashcopy2 | flashcopy4 | flashcopy8 |
flashcopy16 | remoteMirror8 | remoteMirror16 | remoteMirror32 | remoteMirror64 | remoteMirror128
|
.
Usage Guidelines
This list provides guidelines for writing script commands on the command line:
v
You must end all commands with a semicolon (
;
).
v
You can enter more than one command on a line, but you must separate each command with a
semicolon (
;
).
v
You must separate each base command and its associated primary parameters and secondary
parameters with a space.
v
The script engine is not case sensitive. You can enter commands by using uppercase letters, lowercase
letters, or mixed-case letters.
v
Add comments to your scripts to make it easier for you and future users to understand the purpose of
the script commands. (For information about how to add comments, see ““Adding Comments to a
Script File.”)
Note:
While the CLI commands and the script commands are not case sensitive, user labels (such as for
logical drives, hosts, or host ports) are case sensitive. If you try to map to an object that is identified by a
user label, you must enter the user label exactly as it is defined, or the CLI commands and the script
commands will fail.
Adding Comments to a Script File
The script engine looks for certain characters or a command to show comments. You can add comments
to a script file in three ways:
1.
Add text after two forward slashes (
//
) as a comment until an end-of-line character is reached. If the
script engine does not find an end-of-line character in the script after processing a comment, an error
message appears, and the script operation is terminated. This error usually occurs when a comment is
placed at the end of a script and you have forgotten to press the
Enter
key.
// Deletes the existing configuration.
set storageSubsystem resetConfiguration=true;
2.
Add text between / * and * / as a comment. If the script engine does not find both a starting
comment notation and an ending comment notation, an error message appears, and the script
operation is terminated.
/* Deletes the existing configuration */
set storageSubsystem resetConfiguration=true;
3.
Use the
show
statement to embed comments in a script file that you want to appear while the script
file is running. Enclose the text that you want to appear by using double quotation marks (“ ”).
show “Deletes the existing configuration”;
set storageSubsystem resetConfiguration=true;
Chapter 2. About the Script Commands
2-11
Summary of Contents for System Storage DS3000
Page 599: ...Appendix A Examples of information returned by the show commands A 3...
Page 601: ...Appendix A Examples of information returned by the show commands A 5...
Page 603: ...Appendix A Examples of information returned by the show commands A 7...
Page 605: ...Appendix A Examples of information returned by the show commands A 9...
Page 607: ...Appendix A Examples of information returned by the show commands A 11...
Page 609: ...Appendix A Examples of information returned by the show commands A 13...
Page 611: ...Appendix A Examples of information returned by the show commands A 15...
Page 623: ...Appendix A Examples of information returned by the show commands A 27...
Page 625: ...Appendix A Examples of information returned by the show commands A 29...
Page 627: ...Appendix A Examples of information returned by the show commands A 31...
Page 651: ......
Page 652: ...Part Number 00W1466 Printed in USA GA32 0961 05 1P P N 00W1466...