Functionality
This command is used to register/update the device information uniformly.
Record format
DTPA_ImportCsv.exe | /m Device Information File Name /f Execution Result Output Target Folder Name |
Option
Use the absolute path within 128 fullwidth characters or 256 halfwidth characters to specify the device information file for saving uniformly registered/updated device information. If the path includes spaces, enclose it in quotation marks.
Use the absolute path within 128 fullwidth characters or 256 halfwidth characters to specify the execution result output target file for saving uniformly registered/updated execution results. If the path includes spaces, enclose it in quotation marks.
Specify the file to output device information for which batch registration/update failed, among the device information described in the file specified using /m.
Use the absolute path within 128 fullwidth characters or 256 halfwidth characters. If the path includes spaces, enclose it in quotation marks.
Specify the user ID of the operator who executes this command.
Only the user ID of a system administrator or section administrator can be specified.
If device information is registered or updated using this command, history information is collected for the device information. By setting the user ID with this option, operators can also be collected for this history information.
If this option is omitted, the operator of the history information becomes the command name.
Specify the password of the operator who executes this command.
Return value
0: ended normally
Other than 0: ended abnormally
Command saving location
The following folder in CS:
DTP Installation Directory \DTPA |
Authority required for execution/executing environment
Execute by using user with Administrator authority.
This command shall be executed in CS.
Cautions
If the specified error output destination file already exists, it will be overwritten or deleted if an error occurs. If you need the existing file, rename or move it to another location before executing the command.
The file specified in /m is the same as device information file specified in Register/Modify Asset Information of AC main menu.
Command execution example
Specify "C:\devlist.csv" that records device information, and register/update the device information uniformly.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\DTPA\DTPA_ImportCsv.exe" /m C:\devlist.csv /f C:\result.csv |
Execution result/output format
When the command is ended normally:
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\DTPA\DTPA_ImportCsv.exe" /m C:\devlist.csv /f C:\result.csv Batch Processing of Registration/Update of device information has been Completed. |
When an error occurs:
When an error occurs, confirm the contents of execution result output target file specified when executing the command.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\DTPA\DTPA_ImportCsv.exe" /m C:\devlist.csv /f C:\result.csv An Error Occurred in Batch Processing of Registration/Update. Confirm the execution result output target file. |
Output example of execution result output target file
The first item, "A-000000108","Item without Specified Device Name" The second item, "A-000000109","Item without Specified User ID" |
File format
No. | Item | Description |
---|---|---|
1 | Data Location | The row number of actual data that could not be registered or changed is displayed. |
2 | Asset Number | The Asset management number that could not be registered or changed is displayed. |
3 | Error Details | The reason that could not be registered or changed is displayed. |
The format of the input file is the same as that for "2.7.2 Device Information File".