Problem Note 42492: An error occurs when you use the DATECOPY option in the DOWNLOAD or UPLOAD procedures
In SAS/CONNECT® software, the UPLOAD and DOWNLOAD procedures require that the DATECOPY option appear at the end of the statement. Therefore, an error occurs if you use the DATECOPY option before the end of the statement, as shown below:
proc download datecopy after='31Dec2010'd inlib=in outlib=out;
run;
The following errors occur:
ERROR 79-322: Expecting a V6TRANSPORT.
ERROR 22-322: Syntax error, expecting one of the following:
AFTER, CONNECTSTATUS, CONSTRAINT, CSTATUS, DATA, DATECOPY, EXTENDSN,
INDEX, OUT, STATUS, TRANIN, TRANNET, TRANOUT, V6TRANSPORT.
ERROR 76-322: Syntax error, statement will be ignored.
To correct the problem, put the DATECOPY option at the end of PROC
UPLOAD and PROC DOWNLOAD statements, as shown in the following example:
proc download after='31Dec2010'd inlib=in outlib=out datecopy;
run;
Operating System and Release Information
SAS System | SAS/CONNECT | z/OS | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft® Windows® for x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2008 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Enterprise x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Home Premium x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Professional 32 bit | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Professional x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Ultimate x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows Vista | 9.2 TS2M3 | 9.3 TS1M0 |
Windows Vista for x64 | 9.2 TS2M3 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.2 TS2M3 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.2 TS2M3 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.2 TS2M3 | 9.3 TS1M0 |
HP-UX IPF | 9.2 TS2M3 | 9.3 TS1M0 |
Linux | 9.2 TS2M3 | 9.3 TS1M0 |
Linux for x64 | 9.2 TS2M3 | 9.3 TS1M0 |
OpenVMS on HP Integrity | 9.2 TS2M3 | 9.3 TS1M0 |
Solaris for x64 | 9.2 TS2M3 | 9.3 TS1M0 |
*
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.
The SAS/CONNECT® UPLOAD/DOWNLOAD procedure requires that the DATECOPY option appear in a specific order
Type: | Problem Note |
Priority: | high |
Date Modified: | 2011-04-01 15:52:01 |
Date Created: | 2011-02-23 10:05:22 |