Top
Systemwalker Desktop Patrol Reference Manual
FUJITSU Software

1.45 SWDTP_sdmap.exe (Building Smart Device Management Information)

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

/s|/d|/g

Specify uploading (register, update), uploading (delete), or downloading of smart device management information.

/s: Upload (register, update)

/d: Upload (delete)

/g: Download

/ffileName

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.

/eerrorFileName

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

Note

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
commentLine
3,userID,invalidData
4,udid,itemLengthError

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

  • The number of data items is invalid.

  • An item contains invalid characters.

  • Check if the number of items is correct, and add or delete items if necessary.

  • Check the items, and remove all invalid characters.

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.