Requests generations for a new data set, modifies the number of generations for an existing data set, and specifies the maximum number of versions.
Valid in: | DATA step and PROC steps |
Category: | Data Set Control |
Restriction: | Use with output data sets only. |
requests generations for a data set and specifies the maximum number of versions to maintain. The value can be from 0 to 1,000. The default is GENMAX=0, which means that no generation data sets are requested.
data a(genmax=10); x=1; output; run;
proc datasets lib=mylib; modify a(genmax=4); run;