There are several operating system-type options that you can use directly in the %INCLUDE statement without having to code a separate FILENAME statement. One example is when you need to increase the length of the source code being included to allow a longer length than the default length of 256 characters. You can specify a longer length using the LRECL= option directly in the %INCLUDE statement following the forward slash (/). See the following example:
%include "c:\myfiles\mySASsource" / lrecl=500;
For specific information about the options that you can use in the %INCLUDE statement, see the SAS® documentation for your operating environment. The links are provided below:
For more information about %INCLUDE, as well as limitations on length or possible truncated data, records, or source lines, see the following SAS articles: