This macro splits a dataset based on partition number. More...
This macro splits a dataset based on partition number.
Usage
%ms_partition_splitdata(PARTITIONDATA=medspartition, DATAFILE=worktemp.enr_&enrollmentnum.(keep=patid enr_start enr_end), OUTFILE=worktemp.enr_&enrollmentnum., NUM_PARTITIONS=&nummeds_partitions.);
[in] | PARTITIONDATA | Dataset containing patID and partition. |
[in] | DATAFILE | Source data to be split. |
[out] | OUTFILE | Output file dataset prefix. |
[in] | NUM_PARTITIONS | number of partitions. |
None.