SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 40249: WEBA_SET_REFERRER_TYPE_CD should ensure there are no duplicates in the DOMAIN_DIM table

DetailsHotfixAboutRate It

Code added to WEBA_SET_REFERRER_TYPE_CD will ensure there are no duplicates in the DOMAIN_DIM table during a migration from SAS® Web Analytics 5.3.1 to 5.3.3. The hot fix associated with Problem Note 40247 modifies the ucmacros\weba_set_referrer_type_cd.sas macro to remove the duplicates.

As an alternative to applying the hot fix, this macro can be modified manually. Add the following code to the ucmacros\weba_set_referrer_type_cd.sas macro:

   /* Due to MD5 5.3.1/5.3.3 conversion issues, it is possible in some cases */
   /* for duplicate natural keys to be created.  They must be eliminated,    */
   /* or errors will occur on the format creation.                           */

   proc sort data=&all_domains(rename=domain_nm=start keep=domain_nm)
             out=work.dedup nodupkeys;
    by start;
   run;

This code should be added immediately before the following statements:

   data work.cntlin;
        retain fmtname '$REFERRER_TYPE_CD_FMT';
        set work.dedup  end=end;
        label='I'; /* Internal */
        output;
        if end then
         do;
          hlo='O';
          start=' ';
          label='E'; /* External */
          output;
         end;
     run;


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Web AnalyticsMicrosoft® Windows® for x645.3_M35.3_M39.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Datacenter Edition5.3_M35.3_M39.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition5.3_M35.3_M39.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Standard Edition5.3_M35.3_M39.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 for x645.3_M35.3_M39.2 TS2M39.2 TS2M3
Microsoft Windows Server 20085.3_M35.3_M39.2 TS2M39.2 TS2M3
Microsoft Windows Server 2008 for x645.3_M35.3_M39.2 TS2M39.2 TS2M3
Microsoft Windows XP Professional5.3_M35.3_M39.2 TS2M39.2 TS2M3
Windows 7 Enterprise 32 bit5.3_M35.3_M39.2 TS2M39.2 TS2M3
Windows 7 Enterprise x645.3_M35.3_M39.2 TS2M39.2 TS2M3
Windows 7 Home Premium 32 bit5.3_M35.3_M39.2 TS2M39.2 TS2M3
Windows 7 Home Premium x645.3_M35.3_M39.2 TS2M39.2 TS2M3
Windows 7 Professional 32 bit5.3_M35.3_M39.2 TS2M39.2 TS2M3
Windows 7 Professional x645.3_M35.3_M39.2 TS2M39.2 TS2M3
Windows 7 Ultimate 32 bit5.3_M35.3_M39.2 TS2M39.2 TS2M3
Windows 7 Ultimate x645.3_M35.3_M39.2 TS2M39.2 TS2M3
Windows Vista5.3_M35.3_M39.2 TS2M39.2 TS2M3
Windows Vista for x645.3_M35.3_M39.2 TS2M39.2 TS2M3
64-bit Enabled AIX5.3_M35.3_M39.2 TS2M39.2 TS2M3
64-bit Enabled Solaris5.3_M35.3_M39.2 TS2M39.2 TS2M3
HP-UX IPF5.3_M35.3_M39.2 TS2M39.2 TS2M3
Linux for x645.3_M35.3_M39.2 TS2M39.2 TS2M3
Solaris for x645.3_M35.3_M39.2 TS2M39.2 TS2M3
* 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.