17.19 ioutils importupdatelist (importing the updated program list)
Functionality
This command imports the updated program list (also called patch information CSV file). Note that executing this command clears the information of updated programs that were manually registered with the destination management server.
To prevent security judgment from being executed, stop the service (JP1_ITDM2_Service) and then execute the command.
Also note that this command must be executed on a management server.
Format
ioutils importupdatelist -import import-file-name[ -c]
Arguments
- -import import-file-name
-
Specify the absolute path (within 259 bytes) of the patch information CSV file to be imported.
- -c
-
Checks whether the patch information CSV file contains valid information. The file is not actually imported.
Storage location
JP1/IT Desktop Management 2-installation-folder\mgr\bin\
You can execute this command without specifying the storage location for the executable file, by using the command prompt provided by JP1/IT Desktop Management 2.
Notes
-
Execute this command when the management server setup is completed and the management server is running.
-
This command cannot be simultaneously executed by multiple users.
-
This command cannot be executed simultaneously with any of the following commands:
-
exportdb
-
importdb
-
ioassetsfieldutil export
-
ioassetsfieldutil import
-
ioutils exportasset
-
ioutils exportassetassoc
-
ioutils exportdevice
-
ioutils exportdevicedetail
-
ioutils exportfield
-
ioutils exportfilter
-
ioutils exportoplog
-
ioutils exportpolicy
-
ioutils exporttemplate
-
ioutils exportupdategroup
-
ioutils exportupdatelist
-
ioutils importasset
-
ioutils importassetassoc
-
ioutils importexlog
-
ioutils importfield
-
ioutils importfilter
-
ioutils importpolicy
-
ioutils importtemplate
-
ioutils importupdategroup
-
reorgdb
-
startservice
-
stopservice
-
updatesupportinfo
-
deletenwgroup
-
deletepackage
-
distributelicense
-
-
This command assumes that the service (JP1_ITDM2_Service) is stopped. Therefore, execute this command at time when the operation is not obstructed.
-
Because program update information that has been manually registered to the import-destination management server is cleared, you need to add the program updates to a program update group again.
If a security judgment is executed before the program updates are added again, the program updates that had been manually registered are not evaluated, so please execute according to the following procedure.
-
Stop the following service.
- JP1_ITDM2_Service
-
Execute the ioutils importupdatelist command.
- Tip
-
When you execute the command, the program update information is cleared from the program update group, so execute the ioutils exportupdategroup (-u option) command in advance to export the program update group settings.
-
Execute the ioutils importupdategroup command to add the imported program updates to a program update group.
-
After command execution completed, start the following service.
- JP1_ITDM2_Service
-
Return value
The following table shows the return values of the ioutils importupdatelist command.
Return value |
Description |
---|---|
0 |
The command finished normally. |
11 |
The format for specifying the command arguments is invalid. |
12 |
The specified folder is invalid, appropriate access permissions are not set, or the disk capacity is not enough. |
31 |
Another command is being executed. |
39 |
The service (JP1_ITDM2_Service) is starting. |
51 |
You do not have the permissions to execute this command. |
54 |
The management server has not been set up. |
80 |
The specified file contains invalid information. |
101 |
The command execution failed due to memory shortage or other reasons. |
120 |
A database access error occurred. |
150 |
The command execution failed due to some other error. |
Example
The following example shows use of this command to import the exported updated program list (updatelist.csv) from C:\temp\.
ioutils importupdatelist -import C:\temp\updatelist.csv
Related Topics: