You use GENMAX= to request
generations for a new data set and to modify the number of generations
for an existing data set. The first time the data set is replaced,
SAS keeps the replaced version and appends a four-character version
number to its member name, which includes # and a three-digit number.
For example, for a data set named A, a historical version would be
A#001.
After generations of
a data set are requested, the member name is limited to 28 characters
(rather than 32). The last four characters are reserved for the appended
version number. When the GENMAX= data set option is set to 0, the
member name can be up to 32 characters.
If you reduce the number
of generations for an existing data set, SAS deletes the oldest versions
above the new limit.