Page 1 of 1

Delete datasets and query dataset in UNIX

Posted: Mon Dec 11, 2006 12:54 pm
by DSGuru79
Hi,

I just want to delete the datasets using unix shell script. Also want to view particular record in dataset thru unix.

This is possible thru orchestrate command (ORCHADMIN). If anyone have tried this, can please tell me the commands for these both.

Thanks

Posted: Mon Dec 11, 2006 1:04 pm
by DSguru2B
Do a search my friend. This has been discussed here before. Like thisfor instance.

Posted: Mon Dec 11, 2006 2:05 pm
by us1aslam1us

Code: Select all

orchadmin rm datasetname
you can use this command in your script to delete the dataset. I am not sure how you can view that thru unix.

Thanks
Sam

Posted: Mon Dec 11, 2006 2:21 pm
by DSGuru79
All,

Thanks for your inputs. It worked. Just I put that syntax in shell script and it deleted.

I also did a search in forum on querying the dataset. But I did not get any topics on that. I want to know any particular string is present on that dataset, uisng commands like orchadmin or any other command.

Appreciate your help.

Thanks

Posted: Mon Dec 11, 2006 3:29 pm
by ray.wurlod
Look in the Orchestrate Administrator manual for all options to orchadmin (or simply execute orchadmin with no command line arguments).