spssdictionary.SetActive Function (R)

spssdictionary.SetActive(datasetName). Sets the specified dataset as the active dataset. The argument must be enclosed in quotation marks. This function can only be called during the process of creating a new IBM® SPSS® Statistics dataset. New datasets are not automatically set as the active dataset. When used, this function must be called prior to calling EndDataStep.