To delete datasets from DataStage Job
Posted: Tue Jun 18, 2013 8:56 am
Hi Friends,
In our environment, we have multiple projects with their own configuration files. I need to delete datasets using orchadmin command in the execute command activity. The datastage admin has advised me to include the following statements:
(i) Source the dsenv file
(ii) Export APT_CONFIG_FILE = <the path to my project's config file>
(iii) provide the path to orchadmin command and the options to delete the dataset
I understand why we need to source the dsenv file, however I am not sure why we need to export the apt_config_file since this variable is already defined in the administrator.
Also the path to orchadmin is present in the PATH variable defined in the Administrator hence I cannot understand the reason for (iii) as well.
can you please let me know if you find the reasons why is he asing me to do (ii) and (iii)
In our environment, we have multiple projects with their own configuration files. I need to delete datasets using orchadmin command in the execute command activity. The datastage admin has advised me to include the following statements:
(i) Source the dsenv file
(ii) Export APT_CONFIG_FILE = <the path to my project's config file>
(iii) provide the path to orchadmin command and the options to delete the dataset
I understand why we need to source the dsenv file, however I am not sure why we need to export the apt_config_file since this variable is already defined in the administrator.
Also the path to orchadmin is present in the PATH variable defined in the Administrator hence I cannot understand the reason for (iii) as well.
can you please let me know if you find the reasons why is he asing me to do (ii) and (iii)