Hp XP Array Manager Software Manuel d'utilisateur Page 96

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 129
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 95
Table 29 Termination Codes that the Export Tool Returns
Termi
Code
nation Meaning
0
The Export Tool nished successfully.
1
An error occurr
ed when the set subcommand (see “set subcommand” on page 118)
executed, because an attempt to switch to Modify mode failed. Some other user might
have been logg
ed on in Modify mode.
2
An error occurred due to some reason unrelated to system option modes (that is, View
mode and Modify mode)
3
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 subcommand (see
set subcommand” on page 118) executed. Some other user might have been logged
on in Modify mode.
4
The user ID h
as none of permissions for Performance Monitor, Continuous Access,
TrueCopy fo
r Mainframe, Continuous Access Journal, and Universal Replicator for
Mainframe
.
To use a ref
erence to a termination code in your batch le, do the following:
To use such a reference in a Windows batch le, write %errorlevel% in the batch le.
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 le. If
this batch le executes and the Export Tool returns the termination code 1 or 3, the command
prompt displays a message that indicates the set subcommand fails.
java -cl
asspath "./lib/JSanExport.jar;./lib/JSanRmiServer.jar" -Dmd.command=command.txt
-Dmd.logpath=log sanproject.getmondat.RJMdMain
if %erro
rlevel%==1 echo THE SET SUBCOMMAND FAILED
if %errorlevel%==3 echo THE SET SUBCOMMAND FAILED
pause
Note:
The symbol indicates the end of a command line.
Figure 44
An Example of a Batch File Including a Reference to Termination Code
Command Reference
This section explains the syntax of subcommands that you can write in your command le and the java
command that should be used in your batch le. Table 30 on page 97 lists the subcommands explained in
this section. The java command is explained in Java Command for Exporting Data In Files”onpage119.
96
Using the Export Tool
Vue de la page 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 128 129

Commentaires sur ces manuels

Pas de commentaire