SASUnit Examples  Version 1.5.0
windows/_dir.sas File Reference

Generates a dataset with the names of all files in a directory or directory tree. Wildcards may be used to specify the files to be included. More...

Go to the source code of this file.

Detailed Description

Generates a dataset with the names of all files in a directory or directory tree. Wildcards may be used to specify the files to be included.

Resulting SAS dataset has the columns filename (name of file with absolute path, path separator is slash) changed (last modification data as SAS datetime).

Version
$Revision: 346 $
Author
$Author: klandwich $
Date
$Date: 2014-11-16 06:51:26 +0100 (So, 16 Nov 2014) $
See Also
For further information please refer to SASUnit User's Guide
$HeadURL: https://svn.code.sf.net/p/sasunit/code/trunk/saspgm/sasunit/windows/_dir.sas $
Parameters
i_pathname of directory or file group (containing wildcards) with full path
i_recursive1 .. search recursively in subdirectories, default is 0
o_outoutput dataset, default is work.dir. This dataset contains two columns named filename and changed

Definition in file windows/_dir.sas.