HI Kristin,
To remove the existing dimensions from the second data source in a generic way, instead of hardcoding a separate removeDimension() script line for each dimension, you can simply retrieve the row dimensions using DS_2.getDimensions(AXIS.ROW), then loop through the returned array and apply DS_2.removeDimension(dimension array element).
Regards,
Mustafa.