Restriction: | The root directory cannot be moved or deleted. |
Requirement: | Separate multiple paths with commas. |
Tip: | The MOVE TO statement affects all levels of a directory below the specified starting level. |
move weekly to \work.mydoc\monthly /levels = 2; run;
move ^(where=(_type_ = 'Graph' and _cdate_ = '16JUL2004'd)) to \ work.mydoc\monthly; run;
copy ^(where=(_cdatetime_ = '01may04:9:30:00'dt)) to \work.mydoc\monthly; run;
delete ^(where=(_ctime_ = '9:25:19pm't)); run;
list glm(where=(_type_ = 'table' _label_ ? 'Type III Model')); run;
'The Univariate Procedure'.'Normal_x'.'Histogram 1'The corresponding document label path would be as follows:
'The Univariate Procedure'#1\'Normal_x'#1\'Histogram 1'#1Note that in document label paths, the instances of '.' are replaced with '\'.
list gml(where=(_labelpath_ ? "Fit Statistics"))/levels=all; run;
_MAX_ is used only in the REPLAY statement.
replay class(where=(_obs_ < _max_));
move ^(where=(_type_ = 'Graph' and _mdate_ = '16JUL2004'd)) to \work.mydoc\monthly; run;
replay ^(where=(_mdatetime_ = '01may04:9:30:00'dt)); run;
_MIN_ is always set to 1
_MIN_ is used only in the REPLAY statement.
replay class(where=(_obs_ < _min_));
copy ^(where=(_mtime_ = '9:25:19pm't)) to \work.mydoc\monthly; run;
delete glm(where=(_name_ ? 'stemleng'));
_OBS_ is used only in the REPLAY statement.
replay class(where=(_obs_ > 10));
The following REPLAY statement replays all observations except the last observation:
replay class(where=(_obs_ < _max_));
The following REPLAY statement replays the first, third, fifth, seventh, and ninth observations:
replay class(where=(_obs_ in (1,3,5,7,9)));
observation-number is used only in the REPLAY statement.
replay class(where=(_obs_ in (1,3,5,7,9)));
observation-variable is used only in the REPLAY statement.
replay class(where=(weight>100));
The following REPLAY statement replays all observations where the variable Sex is equal to ‘F’.
replay class(where=(sex='F'));
list ^(where=(_path_ ? 'Anova')); run;
replay glm(where=(_seqno_ = 2));