Command Reference; Example Of A Batch File Including References To Termination Codes; Subcommand List - HP XP20000 User Manual

Hide thumbs Also See for XP20000:
Table of Contents

Advertisement

Termination
Code
2
3
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.
The Java command is explained in
Table 28 Subcommand List
Subcommand
svpip
128
Using the Export Tool
Meaning
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.
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
Subcommand" on page 154) executed. Some other user might have been logged on in
Modify mode.
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.
"Java Command for Exporting Data In
Function
Specifies the IP address of the SVP to be logged in.
Table 28
lists the commands explained in this section.
See
svpip
"set
Files" on page 156.
Subcommand, page 131

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xp24000

Table of Contents