Page 1 of 1

How delete Datasets

Posted: Tue Sep 11, 2007 3:07 am
by siva7143
Hi all,

For deleting Datasets i am using
orchadmin rm <Dataset Name>
But if i execute this through Unix box its giving "orchadmin not found'

Can u pl help me....

Posted: Tue Sep 11, 2007 4:14 am
by JoshGeorge
Your dsenv file should have the path of shared library set to $APT_ORCHHOME/lib and also you must have APT_CONFIG_FILE set (Pointing to the same configuration file you used to create the Data Set). Then run the orchadmin command
cd $APT_ORCHHOME/bin
orchadmin rm $Path/FileName.ds

Posted: Tue Sep 11, 2007 4:17 am
by Raghavendra
The configuration file name used to create dataset should be set to APT_CONFIG_FILE while deleting the dataset with orchadmin command.

Posted: Tue Sep 11, 2007 5:34 pm
by ArndW
Raghavendra - Even though you can do that, you don't need to. The descriptor file contains a copy of the configuration file used to create that dataset, and it can be used to locate the appropriate directories for the part files.

Posted: Mon Sep 24, 2007 7:12 pm
by ray.wurlod
The parent directory of the orchadmin command must be findable in your command search path (PATH environment variable) or have its complete pathname specified - for example $APT_ORCHHOME/bin/orchadmin

Others have posted about the need to have the APT_CONFIG_FILE environment variable set correctly.