Delete all Datasets from folder Datasets

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

:mrgreen:
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

Post by vintipa »

Hi,

Can you please tell me where will i find config.apt? actually i have searched in the paths that are mentioned in apt_orchhome and apt_config_file. i found a file called operator.apt instead. And the contenets of the files are as follows:
------------------------------
# cat operator.apt
any orch 1
any_coll orch 1
entire orch 1
fsdelete orch 1
lookup_process orch 1
ordered orch 1 ...
-------------------------------
is this the correct file? i am not able to use the orchadmin command and have no idea as to how should i set apt_orchhome and apt_config_file parameters for that project.

regards,
Vinay
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

There is a directory "Configurations" which usually contains the .apt files. It is located at $DSHOME/../Configurations.
vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

Post by vintipa »

Yes,

i saw that but my doubt was that whether the paths mentined in both apt_orchhome and apt_config_file be same?

configurations folder has some configurations files in it.

regards,
Vinay
nayanpatra
Participant
Posts: 41
Joined: Sat Jun 06, 2009 11:13 pm
Location: Kolkata

Dataset Deletion

Post by nayanpatra »

You can perform the delete operation from UNIX only if you have the priviledge for it.
But you can also delete it with the help of datastage.
You follow the process below. It will be deleted.
TOOLS -> DATA SET MANAGEMENT
Here select your dataset which you want to delete. You can take the help of the drop down menu. Next click the delete (cross tab) option at the top. The dataset will be deleted. Try this and let me know if it works.
Nayan
Post Reply