SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 17326: Extraneous %ELSE in CPSITEUP causes job to fail

DetailsHotfixAboutRate It

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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS IT Management Solutions Core Components MVA DataMicrosoft Windows 95/982.72.7
Microsoft Windows NT Workstation2.72.7
Microsoft Windows 2000 Server2.72.7
Microsoft Windows 2000 Professional2.72.7
Solaris2.72.7
Microsoft Windows 2000 Advanced Server2.72.7
Microsoft Windows 2000 Datacenter Server2.72.7
z/OS2.72.7
64-bit Enabled Solaris2.72.7
64-bit Enabled HP-UX2.72.7
HP-UX2.72.7
64-bit Enabled AIX2.72.7
Tru64 UNIX2.72.7
AIX2.72.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.