Hot fix P64002 addresses the issue(s) in SAS Customer Experience Targeting Server 6.3 on Linux for x64 as documented
in the Issue(s) Addressed section of the hot fix download page:
https://tshf.sas.com/techsup/download/hotfix/HF2/P64.html#P64002
The hot fix downloaded, P64002la.zip, contains the updated files required to address
the documented issues.
Do NOT extract the contents of P64002la.zip. The hot fix installation process will extract
the contents as needed.
After downloading P64002la.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.
What you will need to do:
/*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.