Remove Dataset

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

Post Reply
bart12872
Participant
Posts: 82
Joined: Fri Jan 19, 2007 5:38 pm

Remove Dataset

Post by bart12872 »

Hi,

When I remove all the datasets I use in my projects, I do this :
rm *.ds
and rm on all datasets files (for exemple .ds.dwh.dwh001.0000.0000.0000.14374.ca000f42.0000.7a732e23)

what is the difference between this methods and the use of Orchadmin ?

this method must be ban , yes or no ?

thanks,
bart.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The Orchadmin rm method looks into the .ds file you are deleting and removes the segment files actually used. No chance of missing files or deleting too many.
ag_ram
Premium Member
Premium Member
Posts: 524
Joined: Wed Feb 28, 2007 3:51 am

Post by ag_ram »

what is the difference between this methods and the use of Orchadmin ?
No difference, if you do your work of deletion perfectly.
this method must be ban , yes or no ?
No. But not highly preferred by anyone to be a method of deleting DataSets, because an option in utility orchadmin does the same thing. [Your work will increase if the number of nodes seems high]
bart12872
Participant
Posts: 82
Joined: Fri Jan 19, 2007 5:38 pm

Post by bart12872 »

Is there any temporary files involve in the Orchadmin suppression ?

because the following error appeared
( In file set "/tmp/import_tmp_4927490dbc859cf.fs": Parsing a dataset, expecting a fileset.) when I didn't used the Orchadmin deletion.

thanks,
bart
Post Reply