During library transfers
and single data set transfers when OUT= is not specified, data set
attributes are inherited in the output data set. In SAS releases after
SAS 6, the maximum number of generations is a new inherited attribute.
In addition, the next generation number attribute is inherited ONLY
when a library transfer occurs. This attribute is inherited only when
the generations are actually transferred, and therefore it is NOT
inherited for any single data set transfers. In the following example,
both the maximum number of generations and the next generation number
attributes are inherited in the output data set, because this is a
library transfer.
rsubmit;
proc download in=remote out=local;
select sales(mt=data);
run;
endrsubmit;
In the following example,
only the maximum number of generations attribute is inherited. The
next generation number attribute is not inherited, because this is
a single data set transfer, and therefore no generations are transferred.
rsubmit;
proc download data=remote.sales;
run;
endrsubmit;