Installation Instructions for Hot Fix P64003

64-bit Enabled Solaris


Hot fix P64003 addresses the issue(s) in SAS Customer Experience Targeting Server 6.3 on 64-bit Enabled Solaris as documented in the Issue(s) Addressed section of the hot fix download page:

http://ftp.sas.com/techsup/download/hotfix/HF2/P64.html#P64003


The hot fix downloaded, P64003s6.zip, contains the updated files required to address the documented issues.
Do NOT extract the contents of P64003s6.zip. The hot fix installation process will extract the contents as needed.


IMPORTANT NOTES

  1. You must have SAS Customer Experience Targeting Server 6.3 installed on your system before applying this hot fix. Refer to SN-35968 for instructions on how to determine which product releases you have installed.

  2. Files delivered in this hot fix will be backed up during the installation process. However, it is good general practice to back up your system before applying updates to software.

  3. You must have Administrator Privileges on your CLIENT or SERVER machine.

  4. All currently active SAS sessions, daemons, spawners and servers must be terminated before applying this hot fix.

  5. This hot fix should be installed using the same userid who performed the initial software installation.

  6. During the hot fix installation process, be sure to deselect the 'Configure SAS hot fix' check box when prompted.


INSTALLATION

The P64003 hot fix for SAS Customer Experience Targeting Server 6.3 will be installed using the SAS Deployment Manager. By default, the SAS Deployment Manager will search in the <SASHOME>/InstallMisc/HotFixes/New directory for hot fixes to be applied, but will also prompt for a location if you have downloaded hot fixes to a different directory.

After downloading P64003s6.zip, follow the instructions for applying hot fixes in the SAS Deployment Wizard and SAS Deployment Manager 9.4: User's Guide.

The content of this hot fix is listed in the hot fix manifest.


POST-INSTALLATION INSTRUCTIONS

If you previously installed hot fix P64002, skip pass the "SAS PATCH CODE" to "You need to do the following step to fix an issue documented in SN-56298."

IMPORTANT: SAS PATCH CODE GIVEN BELOW NEEDS TO BE APPLIED IMMEDIATELY AFTER THE HOTFIX IS APPLIED AND BEFORE CXT ETL RUN.

What you will need to do:

Once both the libraries are assigned, then run the following SAS CODE PATCH in the same SAS session.
/*SAS CODE PATCH STARTS*/

/*Take backup of existing CXTCNFG.Geo_ip_md5, just for reference and keep track of what changed with this sas patch code*/
  Data CXTCNFG.Geo_ip_md5_bkp_bef_hotfix;
       Set CXTCNFG.Geo_ip_md5;
  Run;

/*Read the existing dim tables*/
  data work.geo_ip_dim_temp;
     set CXTWH.geo_ip_dim;
  run;

/*Generate old md5 and new md5 based on old and new primary sk values*/
  data work.geo_ip_dim_temp2;
     set work.geo_ip_dim_temp;
        length old_md5 $16 new_md5 $16;
        format old_md5 $hex32. new_md5 $hex32.;

     geo_ip_key_old= compbl(lowcase(trim(longitude)||trim(latitude)||
                  ktrim(country_cd)||trim(state_region_cd)||ktrim(city_nm)));

     old_md5=md5(compbl(geo_ip_key_old));

geo_ip_key_new=compbl(lowcase(trim(longitude)||trim(latitude)||
ktrim(country_cd)||trim(state_region_cd)||ktrim(city_nm)||ktrim(country_nm)||ktrim(organization_nm)||ktrim(region_nm)||trim(metro_cd)));

     new_md5=md5(compbl(geo_ip_key_new));

  run;

  data work.geo_ip_dim_temp2(rename=(new_md5=geo_ip_md5));
     set work.geo_ip_dim_temp2(keep=geo_ip_sk new_md5);
  run;

  proc sort data=work.geo_ip_dim_temp2;
     by geo_ip_sk;
  run;


  proc sort data=CXTCNFG.geo_ip_md5;
     by geo_ip_sk;
  run;

  data CXTCNFG.geo_ip_md5;
      merge CXTCNFG.geo_ip_md5(in=a) work.geo_ip_dim_temp2(in=b);
      by geo_ip_sk;
      if a;
  run;

  proc sql;
       alter table CXTCNFG.geo_ip_md5
          add constraint geo_ip_md5 primary key (geo_ip_md5)
       ;
quit;
/* SAS CODE PATCH ENDS*/
IMPORTANT: CHECK THE SAS LOG TO ENSURE THE SAS CODE PATCH RAN SUCCESSFULLY WITHOUT ANY ERROR.

You need to do the following step to fix an issue documented in SN-56298.

  1. When Configuring CXT, depending on whether the data warehouse user have create permissions or not, do the following:

  2. Do the following changes, if the data warehouse user do not have the permissions to create the database objects in the target database:
    1. Browse to ETL Jobs > 6.3 Jobs > Optional Jobs > Data Archiving job. Right click on the Job transformation and select properties. In the Options tab, select General options in left pane.
      1. Set “Disable indexes prior to delete and rebuild them after delete?” to No.

    2. Browse to ETL Jobs > 6.3 Jobs > Optional Jobs > ETL Reset Job. Right click on the Job transformation ‘cxt_etl_reset’ and select properties. In the Options tab, select General options in left pane.
      1. Set “Rebuild Table Indexes” to None.
      2. Set “Create temporary index on load_dttm” to No.

    3. Browse to ETL Jobs > 6.3 Jobs > ETL Jobs > cxt_1000_pre_extract Job. Right click on the Job transformation and select properties. In the Options tab, select Timeshifting* option in left pane.
      1. Set “Create load_dttm index if it does not exist” to No.
      2. Redeploy the job.

    4. Browse to ETL Jobs > 6.3 Jobs > ETL Jobs. For all the load jobs do the following. Right click on the Job transformation and select properties.
      1. In the Options tab, select General options in left pane. Set “Drop Index?” to No.
      2. In the Options tab, select Additional options in left pane. Set “Generate indexes on target tables” to No.

    5. Browse to ETL Jobs > 6.3 Jobs > ETL Jobs > cxt_1000_pre_extract Job. Right click on the Job transformation and select properties. In the Options tab, select Additional Options* in left pane.
      1. Set “Generate indexes on target tables” to No.
The .sql files may be found under !SASROOT\cxasvr\sasmisc for Windows or !SASROOT/misc./cxasvr for Unix systems.

This completes the installation of hot fix P64003 on 64-bit Enabled Solaris.


Copyright 2015 SAS Institute Inc. All Rights Reserved.