Job Management Partner 1/Automatic Operation GUI and Command Reference
This command adds one or more service templates to JP1/AO. Adding service templates to JP1/AO is called importing of service templates.
You can execute the command with a single service template package or a zip file in which multiple service template packages are archived to import the specified service template package into JP1/AO.
importservicetemplate
/file service-template-package-or-zip-file-in-which-multiple-service-template-packages-are-archived
/user user-ID
{/password password | /passwordfile password-file-path}JP1/AO-installation-folder\bin
Execute the command as a user with both Admin (or Develop) role and Administrator permissions for the OS. If a user without Administrator permissions executes the command, a message appears asking the user to elevate the permission level.
When the command imports a zip file in which multiple service template packages are archived, the command continues processing even if some of the service template packages cannot be imported. Messages inform you of the service template packages that could not be imported. If such messages are displayed, check the messages, correct the causes of the failures, and then re-import the relevant service template packages.
The following table lists the return codes from the command.
| Return code | Description |
|---|---|
| 0 | The command succeeded. |
| 1 | The argument is invalid. |
| 2 | The command execution has been interrupted. |
| 3 | The service status is invalid. |
| 4 | One of the other commands is running. |
| 5 | Communication failed. |
| 6 | Authentication failed. |
| 7 | An invalid path is specified. |
| 9 | The specified path does not exist. |
| 14 | You do not have permission to execute the command. |
| 180 | Importing the service template failed. |
| 255 | The command terminated abnormally. |
The following commands show examples of how to use the command for each case.
All Rights Reserved. Copyright (C) 2012, 2013,Hitachi, Ltd.