To delete dataset file (.ds)

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
mingzhang
Participant
Posts: 16
Joined: Fri Feb 27, 2009 3:31 pm

To delete dataset file (.ds)

Post by mingzhang »

I know the dataset file(.ds) can be deleted via "Data Set Management" Tool.
Is there other way to delete it? (eg. using command line?...) Or any way we can put the deletion into the Job Sequence?

Thanks
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Yes, use "orchadmin" from the command line.
mingzhang
Participant
Posts: 16
Joined: Fri Feb 27, 2009 3:31 pm

Post by mingzhang »

I got it. Just make it clear:
orchadmin delete <dsname>

And there are also other useful commands to manage the dataset files. (like copy ...)

Thank you so much.

lstsaur wrote:Yes, use "orchadmin" from the command line.
wahi80
Participant
Posts: 214
Joined: Thu Feb 07, 2008 4:37 pm

Post by wahi80 »

orchadmin rm <dataset name>

is the right synatx
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

orchadmin rm <dataset name>.ds

is the correct syntax.

The orchadmin command requires the pathname of the Data Set control file as its argument. This (typically) is the Data Set name followed by a ".ds" suffix.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mingzhang
Participant
Posts: 16
Joined: Fri Feb 27, 2009 3:31 pm

Post by mingzhang »

Thanks.

But it seems all the following commands are working in Datastage 8.0.1:
orchadmin delete
orchadmin del
orchadmin rm

ray.wurlod wrote:orchadmin rm <dataset name>.ds

is the correct syntax.

The orchadmin command requires the pathname of the Data Set control file as its argument. This (typically) is the Data Set name follo ...
Post Reply