subset_xpdb function

Subset datasets in an xpdb