Page 1 of 1

Need to delete temporary datasets after jobs get completed

Posted: Thu Dec 17, 2009 12:47 am
by SagarMelam
Hi,
Need to know the script for deleting temporary datasets created after sucessful completion of the jobs.

Posted: Thu Dec 17, 2009 4:35 am
by crystal_pup
You can use the orchadmin command to delete the temporary datasets.The command sysntax would be :-

../bin/orchadmin rm nameofthedataset

Posted: Fri Jan 22, 2010 1:13 pm
by somesh2suma
hi

Even i have the same problem, but i want to put it in job control.
"../bin/orchadmin rm nameofthedataset"
canl this above command placed in job control or should we have to place in unix script.

Thanks in advance.

Posted: Fri Jan 22, 2010 2:11 pm
by ray.wurlod
You can place it job control. Use DSExecute() and specify both the commmand and the Data Set descriptor file as full pathnames.