Problem Note 17326: Extraneous %ELSE in CPSITEUP causes job to fail
Extraneous %ELSE in CPSITEUP causes the job to fail with the following
messages:
ERROR: There is no matching %IF statement for the %ELSE. A dummy
macro will be compiled.
WARNING: Apparent invocation of macro UPDSITE not resolved.
ERROR 180-322: Statement is not valid or it is used out of proper
order.
Removing the %ELSE in the following section of CPSITEUP code prevents
the errors and WARNING mentioned above from occurring.
%else %if %quote(&PRODSITE) = %quote(&NEWSITE) %then
%do;
proc catalog c=oldsite.cpfmts;
%if %sysfunc(cexist(oldsite.cpfmts.cphday.format)) %then
%do;
copy out=prodsite.cpfmts; select cphday.format;
%end;
%if %sysfunc(cexist(oldsite.cpfmts.shift.formatc)) %then
%do;
copy out=prodsite.cpfmts; select shift.formatc;
%end;
run;
quit;
%end;
Select the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS IT Management Solutions Core Components MVA Data | Microsoft Windows 95/98 | 2.7 | 2.7 | | |
Microsoft Windows NT Workstation | 2.7 | 2.7 | | |
Microsoft Windows 2000 Server | 2.7 | 2.7 | | |
Microsoft Windows 2000 Professional | 2.7 | 2.7 | | |
Solaris | 2.7 | 2.7 | | |
Microsoft Windows 2000 Advanced Server | 2.7 | 2.7 | | |
Microsoft Windows 2000 Datacenter Server | 2.7 | 2.7 | | |
z/OS | 2.7 | 2.7 | | |
64-bit Enabled Solaris | 2.7 | 2.7 | | |
64-bit Enabled HP-UX | 2.7 | 2.7 | | |
HP-UX | 2.7 | 2.7 | | |
64-bit Enabled AIX | 2.7 | 2.7 | | |
Tru64 UNIX | 2.7 | 2.7 | | |
AIX | 2.7 | 2.7 | | |
*
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: | Problem Note |
Priority: | medium |
Topic: | System Administration ==> Installation
|
Date Modified: | 2006-06-30 10:12:46 |
Date Created: | 2006-03-22 16:29:18 |