Troubleshooting
Problem
How to use command to delete dataset instead of using Dataset management option in designer
Resolving The Problem
1. Set APT_CONFIG_FILE to your configuration file
For example:
set APT_CONFIG_FILE=C:\IBM\InformationServer\Server\Configurations\default.apt
2. Set APT_ORCHHOME =C:\IBM\InformationServer\Server\PXEngine
3. From directory C:\IBM\InformationServer\Server\PXEngine\bin
enter
sh -c "orchadmin delete <Path>/Datasetname.ds"
If you would like to delete many files then below is an example:
sh -c "orchadmin delete `ls D:/My_Projects/Dataset/ABC*.ds`"
Note that the "\" (backslash) characters have to be replaced by "/"
(slash) characters. and that the command passed to the shell itself
need to be enclosed between quotes.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21961605