Command reference, Subcommand list – HP XP Array Manager Software User Manual
Page 128

Meaning
Termination
Code
Either one of the following two errors occurred:
•
A command file has been corrupted or could not be read.
•
An error occurred when a command was parsed.
2
An error occurred due to more than one reason. One of the reasons is that an attempt
to switch to Modify mode failed when the set command (see “
” on page 154) executed. Some other user might have been logged on in
Modify mode.
3
The user ID has none of permissions for Performance Monitor, XP Continuous Access,
TrueCopy for Mainframe, XP Continuous Access Journal, and Universal Replicator for
Mainframe.
4
To use a reference to a termination code in your batch file, do the following:
•
To use such a reference in a Windows batch file, write %errorlevel% in the batch file.
•
To use such a reference in a UNIX Bourne shell script, write %? in the shell script.
•
To use such a reference in a UNIX C shell script, write %status in the shell script.
A reference to a termination code is used in the following example of a Windows batch file. If this
batch file executes and the Export Tool returns the termination code 1 or 3, the command prompt
displays a message that indicates the set command failed.
Java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServer.jar"
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
if %errorlevel%==1 echo THE SET SUBCOMMAND FAILED
if %errorlevel%==3 echo THE SET SUBCOMMAND FAILED
pause
Figure 44 Example of a Batch File Including References to Termination Codes
.
NOTE:
The
symbol indicates the end of a command line.
Command Reference
This section explains the syntax of commands that you can write in your command file and the Java
command that should be used in your batch file.
lists the commands explained in this section.
The Java command is explained in “
Java Command for Exporting Data In Files
Table 28 Subcommand List
See
Function
Subcommand
Specifies the IP address of the SVP to be logged in.
svpip
Using the Export Tool
128