Usage Note 39619: Options you can use on the %INCLUDE statement such as a LRECL= specification
There are several operating system type options you can use directly in the %INCLUDE statement without having to code a separate FILENAME statement. One example is when needing 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=xxx option directly in the %INCLUDE statement following the / (forward slash).
Here is one example.
%include "c:\myfiles\mySASsource" / lrecl=500;
For specific information on the options you can use in the %INCLUDE statement see the SAS documentation for your operating environment. The links are provided below:
%INCLUDE Statement under Windows
%INCLUDE Statement under UNIX
%INCLUDE Statement under z/OS
For further information on %INCLUDE as well as limitations on length or possible truncated data, records, or source lines see the following SAS Notes: #004448, #008328 , and #0015883.
Operating System and Release Information
| SAS System | Base SAS | z/OS | | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | | |
| Microsoft Windows XP 64-bit Edition | | |
| Microsoft® Windows® for x64 | | |
| OS/2 | | |
| Microsoft Windows 95/98 | | |
| Microsoft Windows 2000 Advanced Server | | |
| Microsoft Windows 2000 Datacenter Server | | |
| Microsoft Windows 2000 Server | | |
| Microsoft Windows 2000 Professional | | |
| Microsoft Windows NT Workstation | | |
| Microsoft Windows Server 2003 Datacenter Edition | | |
| Microsoft Windows Server 2003 Enterprise Edition | | |
| Microsoft Windows Server 2003 Standard Edition | | |
| Microsoft Windows Server 2003 for x64 | | |
| Microsoft Windows Server 2008 | | |
| Microsoft Windows Server 2008 for x64 | | |
| Microsoft Windows XP Professional | | |
| Windows 7 Enterprise 32 bit | | |
| Windows 7 Enterprise x64 | | |
| Windows 7 Home Premium 32 bit | | |
| Windows 7 Home Premium x64 | | |
| Windows 7 Professional 32 bit | | |
| Windows 7 Professional x64 | | |
| Windows 7 Ultimate 32 bit | | |
| Windows 7 Ultimate x64 | | |
| Windows Millennium Edition (Me) | | |
| Windows Vista | | |
| Windows Vista for x64 | | |
| 64-bit Enabled AIX | | |
| 64-bit Enabled HP-UX | | |
| 64-bit Enabled Solaris | | |
| ABI+ for Intel Architecture | | |
| AIX | | |
| HP-UX | | |
| HP-UX IPF | | |
| IRIX | | |
| Linux | | |
| Linux for x64 | | |
| Linux on Itanium | | |
| OpenVMS Alpha | | |
| OpenVMS on HP Integrity | | |
| Solaris | | |
| Solaris for x64 | | |
| Tru64 UNIX | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | |
| Topic: | SAS Reference ==> Statements ==> Program Control ==> %INCLUDE Common Programming Tasks
|
| Date Modified: | 2010-05-17 14:12:18 |
| Date Created: | 2010-05-12 15:12:09 |