Concatenating Filenames in UNIX Environments


You can concatenate filenames in the FILENAME, %INCLUDE, and INFILE statements. Concatenating filenames enables you to read those files sequentially.

  • FILENAME fileref (" pathname-1 " ... " pathname-n ");

  • %INCLUDE '(" filename-1 " ... " filename-n ")';

  • %INCLUDE "(' filename-1 ' ... ' filename-n ')";

  • INFILE '(" filename-1 " ... " filename-n ")';

  • INFILE "(' filename-1 ' ... ' filename-n ')";

You can enclose the pathnames in single or double quotation marks and separate them with commas or blank spaces. You can use the characters shown in Table 4.6 on page 115 and the wildcards described in "Using Wildcards in Pathnames (Input Only)" on page 134 to specify the pathnames.




SAS 9.1 Companion for UNIX Environments
SAS 9.1 Companion For Unix Enivronments
ISBN: 1590472101
EAN: 2147483647
Year: 2004
Pages: 185
Authors: SAS Institute

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net