Usage Note 15985: Using %syslput in SAS 9 may require use of the %bquote function
In SAS 9, %SYSLPUT contains a new option with the syntax of:
%SYSLPUT macro-variable=value </remote=server-id>
Due to the addition of the /REMOTE option in the %SYSLPUT statement any
value that contains forward slashes should now be quoted with a macro
quoting function.
If the macro quoting function is not used and the %SYSLPUT value
contains forward slashes, the following error message may appear:
%syslput PATH = &PATH ;
ERROR: Unrecognized option to the %SYSLPUT statement.
NOTE: Line generated by the macro variable "PATH".
1 /testa/testb
The following example uses the %BQUOTE function to mask forward slashes
that are used in a UNIX pathname that is assigned in the %SYSLPUT
statement:
%let path=/testa/testb;
%syslput path=%bquote(&path);
rsubmit;
%put &path;
endrsubmit;
Operating System and Release Information
SAS System | SAS/CONNECT | Microsoft Windows NT Workstation | 9 TS M0 | |
Microsoft Windows XP Professional | 9 TS M0 | |
Microsoft Windows Server 2003 Standard Edition | 9 TS M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9 TS M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9 TS M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9 TS M0 | |
Microsoft Windows 2000 Datacenter Server | 9 TS M0 | |
Microsoft Windows 2000 Professional | 9 TS M0 | |
Microsoft Windows 2000 Server | 9 TS M0 | |
Microsoft Windows 2000 Advanced Server | 9 TS M0 | |
Solaris | 9 TS M0 | |
z/OS | 9 TS M0 | |
64-bit Enabled Solaris | 9 TS M0 | |
HP-UX IPF | 9 TS M0 | |
HP-UX | 9 TS M0 | |
Linux | 9 TS M0 | |
Tru64 UNIX | 9 TS M0 | |
64-bit Enabled AIX | 9 TS M0 | |
OpenVMS Alpha | 9 TS M0 | |
64-bit Enabled HP-UX | 9 TS M0 | |
AIX | 9 TS M0 | |
*
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: | medium |
Date Modified: | 2005-08-19 14:05:36 |
Date Created: | 2005-08-19 14:05:36 |