Command syntax
The commands to run the data setup utility have the following format:
DSU operation propertiesfile options {additional properties}
DSU64 operation propertiesfile options {additional properties}
Where
- operation
- Is the operation to be done. The operations are shown in the following list:
- import
- export
- validate
- delete
- propertiesfile
- Is the name of the properties file to use for the operation.
- options
- Is one or more options for the DSU command. The options are shown in the following
list:
-pass=passphrase
- When an encrypted properties file is being used, the passphrase that was used to encrypt the file is required. Use this option to provide the passphrase to the DSU.
-klen=keyLength
- When an encrypted properties file is being used, the key length that was used to encrypt the file is required. Use this option to provide the key length to the DSU.
-mode=mode
- When an encrypted properties file is being used, the mode that was used to encrypt the file is required. Use this option to provide the mode to the DSU.
-pad=paddingtype
- When an encrypted properties file is being used, the padding type that was used to encrypt the file is required. Use this option to provide the padding type to the DSU.
- {additional properties}
- Is a list of properties whose values are overridden by the values that are provided to the command. The
format of each property to be overridden
is:
Use a space to separate the different properties. On the Windows operating system, the property and its value must be specified inside quotation marks. As many as seven configuration properties can be specified for the command.propertyname=newvalue
Examples
To start an import operation for the base configuration data, the command
is
DSU import ProductImport.properties
To start an import operation for the base configuration data that uses an encrypted properties file, the
command
is
DSU import ProductImport.properties -pass=myPassPhrase -mode=ECB =pad=PKCS5Padding
To start an export operation for the base configuration data that overrides the exportSimpleName property,
the command is
DSU export ProductExport.properties exportSimpleName=true
To start an export operation for the base configuration data that overrides the exportSimpleName property
on the Windows operating system, the command is
DSU export ProductExport.properties "exportSimpleName=true"