Description
This command is used to register, update, delete and browse information for associating user IDs with smart devices.
Syntax
SWDTP_sdmap.exe | /s|/d|/g /ffileName [/eerrorFileName] |
Option
Specify uploading (register, update), uploading (delete), or downloading of smart device management information.
/s: Upload (register, update)
/d: Upload (delete)
/g: Download
If uploading (/s, /d), specify the name of the file to be uploaded, and if downloading, specify the name of the file to be output.
Refer to "2.8 Smart Device Management Information File" for details on the syntax used for files to be uploaded.
Specify the output file using its absolute path, and if the path includes spaces, enclose it in quotation marks. Also, the string length excluding quotation marks must not exceed 128 fullwidth characters or 256 halfwidth characters.
Specifies the error file name to which the error information is output.
You cannot specify a file name with the extension .dtl for the error file name.
This option cannot be omitted for uploads (/s, /d). Also, this option is not required for downloads (/g), and will be ignored even if specified.
Specify the error file using its absolute path, and if the path includes spaces, enclose it in quotation marks. Also, the string length excluding quotation marks must not exceed 128 fullwidth characters or 256 halfwidth characters.
Return value
0: Ended normally
Other than 0: Ended abnormally
Command location
The following folder of CS:
dtpInstallDir\bnserv\bin |
Privilege required for execution/execution environment
This command must be executed by users who build or expand the operating environment according to the Operation Environment Maintenance Guide.
This command must be executed on CS.
Note
If the output file already exists, it will be overwritten or deleted if an error occurs. If you need a file that was created previously, change the name of the file or move it to another location before executing the command.
If a processing error occurs during an upload, an error details file containing the error contents will be created with the error file extension specified in the /e option set to .dtl.
Example
Download the smart device management information to C:\TEMP\sdmap.csv.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\bnserv\bin\SWDTP_sdmap.exe" /g /fC:\TEMP\sdmap.csv |
Execution result/output format
Error files use the same format as smart device management information files. By referring to the error details file (error file name extension .dtl) and taking action on and modifying applicable sections of the error file, you can use the error file as the next upload file for master data that failed to register, update or delete.
commentLine |
File format
No. | Item | Description |
---|---|---|
1 | Line number | The line number in the error file |
2 | Item | Item name that was the cause of the error |
3 | Contents | Error content |
Error content
Error content | Cause | Action |
---|---|---|
Integrity of double quotation marks | The item is not correctly enclosed in double quotation marks. | Correctly enclose the item in double quotation marks. |
Invalid Data |
|
|
Length of item is wrong | The item length is invalid. Or, a required item is described as NULL. | Check the items and item lengths, and modify if necessary. |
No Key Data | A user ID has not been specified. | Check if the items are correct, and add required items if necessary. |
No Corresponding Data | Items targeted for update or deletion do not exist. | Check if the items targeted for deletion are correct, and if not needed, delete the applicable lines from the error file. |
Database Error | A database error may have occurred. | Check if there are any abnormalities in the database, and remove the cause of the error. |
Cannot be update | An update or deletion was attempted by the logged-in user ID. | Request the user to log out, or wait a while and try again. |
If processing fails, an error message will be output. Refer to "3.3.23 Messages Output in the Building/Deleting iOS Management Database Environment Command" for details.