Installation Instructions for Hot Fix W19011

Windows for x64


Hot fix W19011 addresses the issue(s) in SAS Size Optimization 3.4 as documented in the Issue(s) Addressed section of the hot fix download page:

http://ftp.sas.com/techsup/download/hotfix/HF2/W19.html#W19011


W19011 is a "container" hot fix that contains the following "member" hot fixes which will update the software components as needed.

W23010  updates  SAS Merchandise Intelligence Client 5.4
W24010  updates  SAS Merchandise Intelligence Mid-Tier 5.4
W22010  updates  SAS Merchandise Intelligence Plug-in for SAS Management Console 5.4
Z33006  updates  SAS Merchandise Intelligence Server 5.4
W20010  updates  SAS Merchandise Intelligence Workbench Server 5.4
W21010  updates  SAS Merchandise Solutions Configuration Workbench 5.4
Z35005  updates  SAS Pack Optimization Mid-Tier LASR Configuration 3.4
Z36005  updates  SAS Size Profiling Mid-Tier LASR Configuration 3.4
Y07005  updates  SAS Size Profiling Server 3.4

See What is a container hot fix? in the Hot Fix FAQ for more information about container hot fixes.


Before applying this hot fix, follow the instructions in SAS Note 35968 to generate a SAS Deployment Registry report, then verify that the appropriate product releases are installed on your system. The release number information in the Registry report should match the 'member' release number information provided above for the software components installed on each machine in your deployment.

The hot fix downloaded, W19011pt.zip, includes the updates required for all components listed above on all applicable operating systems. To apply this hot fix on multiple machines, you can either save W19011pt.zip on each machine or save it in a network location that is accessible to all machines.

Do NOT extract the contents of W19011pt.zip. The hot fix installation process will extract the contents as needed.


IMPORTANT NOTES

  1. 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.

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

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

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

  5. CONFIGURATION: No automatic configuration scripting is required for this hot fix. If you have previously configured software installed, the SAS Deployment Manager may present a screen where you will see "Apply SAS Hot Fixes" and "Configure SAS Hot Fixes" options. On this screen, you must ensure that the "Configure SAS Hot Fix" option is *not* selected. If this option is automatically selected, please de-select it prior to proceeding with the SAS Deployment Manager Screens. Failure to do so could have unintended consequences when applying this hot fix.

  6. You must deploy the hot fix in the following timeframe


INSTALLATION

Hot Fix W19011 must be installed on each machine where the updated components of the product, listed above, are installed. During the installation process you may see references to all operating systems for which updates are provided in the hot fix. The installation process will determine the operating system and which component(s) of SAS Size Optimization 3.4 require updating on the machine. See SAS Note 44810 for more details.

The hot fix will be applied 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 W19011pt.zip, follow the instructions for applying hot fixes in the SAS Deployment Wizard and SAS Deployment Manager 9.4: User's Guide.

Please review the CONFIGURATION Important Note above concerning proper selection of the "Configure SAS Hot Fix" option in the SAS Deployment Manager.


The hot fix installation process generates the log file

<!SASHOME>\InstallMisc\InstallLogs\IT_date-and-time-stamp.log
for example, IT_2011-10-31-13.18.21.log. Each attempt to apply a hot fix results in the creation of a new log file giving detailed information regarding the installation process.

Postexec log files are created after the installation is completed and identifies the files that were added, backed up, changed and removed. These log files include the ‘member’ hot fix id in the name of the file and are also written to the <!SASHOME>\InstallMisc\InstallLogs directory. There is one postexec log for each ‘member’ hot fix applied (member hot fixes are listed at the top of these instructions).


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


POST-INSTALLATION INSTRUCTIONS

For each product installed, click the link to be redirected to post-installation instructions.

W23010  updates  SAS Merchandise Intelligence Client 5.4
W24010  updates  SAS Merchandise Intelligence Mid-Tier 5.4
W22010  updates  SAS Merchandise Intelligence Plug-in for SAS Management Console 5.4
Z33006  updates  SAS Merchandise Intelligence Server 5.4
W20010  updates  SAS Merchandise Intelligence Workbench Server 5.4
W21010  updates  SAS Merchandise Solutions Configuration Workbench 5.4
Z35005  updates  SAS Pack Optimization Mid-Tier LASR Configuration 3.4
Z36005  updates  SAS Size Profiling Mid-Tier LASR Configuration 3.4
Y07005  updates  SAS Size Profiling Server 3.4


W23010  updates  SAS Merchandise Intelligence Client 5.4
W21010  updates  SAS Merchandise Solutions Configuration Workbench 5.4

Security Update for SAS Merchandise Intelligence Client 5.4 and SAS Merchandise Solutions Configuration Workbench 5.4

If the updates for the Java Deserialization Vulnerability documented at http://support.sas.com/security/Java-deserialization.html were applied to your system, you must rerun the SAS Security Update after applying this hot fix. The current SAS Security Update can be downloaded from http://ftp.sas.com/techsup/download/hotfix/HF2/Java-deserialization_update.html. To apply the update, perform Step 1 — Apply SAS Security Update and Step 3 — Rebuild and Redeploy Web Applications in the instructions in the PDF document provided at the same link.


W24010  updates  SAS Merchandise Intelligence Mid-Tier 5.4

Re-build Web Application

In order for this step to execute correctly, the Metadata Server must be running.

1. Invoke the SAS Deployment Manager 9.4

From the SASDeploymentManager directory launch sasdm.exe.
SAS Deployment Manager is installed in the following default location:

<SASHOME>\SASDeploymentManager\9.4

2. Select a language in the Choose Language box

3. Select Rebuild Web Applications

4. Select Configuration Directory or Enter the Configuration Directory and Level that needs to be updated

5. Specify Connection Information, including the sasadm User ID and Password

6. Select SAS Merchandise Intelligence Mid-Tier 5.4 as the Web Application to Rebuild

7. Verify the information on the Summary screen and select Start

8. Select Finish when the deployment is complete

This process will update the SAS Merchandise Intelligence Mid-Tier 5.4 ear in

<SASCONFIGDIR>\Web\Staging
A backup of the original ear file will be placed in the directory
<SASCONFIGDIR>\Web\Staging\Backup

9. Exit the SAS Deployment Manager 9.4


Re-deploy Web Application

1. Restart all SAS sessions, daemons, spawners and servers.

2. Invoke the SAS Deployment Manager 9.4

From the SASDeploymentManager directory launch sasdm.exe.
SAS Deployment Manager is installed in the following default location:

<SASHOME>\SASDeploymentManager\9.4

3. Select a language in the Choose Language box

4. Select Deploy Web Applications

5. Select Configuration Directory or Enter the Configuration Directory and Level that needs to be updated

6. Specify Connection Information, including the sasadm User ID and Password

7. Check the Allow the application server to stop checkbox

8. Select SAS Merchandise Intelligence Mid-Tier 5.4 as the Web Application to Deploy

9. Verify the information on the Summary screen and select Start

10. Select Finish and exit the SAS Deployment Manager when the deployment is complete


Steps to Update DAV Content

Note: You can use DAVTree on UNIX/Windows, For Unix you must have a graphical interface.

These steps only required to be done once. If these steps were done as part of any of the previous Hot Fix, then ignore it.

If you do not have a graphical interface, use a UNIX command line tool that supports upload to WebDAV. For example, use DAVExplorer instead of DAVTree to perform the following steps.

WebDAV URL - - http://server-name:port/SASContentServer/repository/default/sasdav/
server-name is your MidTier hostname.
Port – is the port on which Webserver is configured to use

  1. Update file prf-table.properties
    (location - http://server-name:port/SASContentServer/repository/default/sasdav/Products/SAS
    Merchandise Intelligence Server/Configuration Documents/Property Files/prf-table.properties)

    Add the following lines:-
    ColumnHeading.ProfilingProject_ReportID.txt=Report ID
    ColumnHeading.ProfilingProject_ReportStatus.txt=Report Status
    ColumnHeading.ProfilingProject_LoadedBy.txt=Loaded By
    ColumnHeading.ProfilingProject_ReportSchedule.txt=Report Scheduled
    ColumnHeading.ProfilingProject_ExtractTime.txt=Last Report Generated

  2. Update file pko-table.properties
    (location - http://server-name:port/SASContentServer/repository/default/sasdav/Products/SAS Merchandise Intelligence Server/Configuration Documents/Property Files/pko-table.properties)

    Add the following lines:-
    ColumnHeading.ReportID.txt=Report ID
    ColumnHeading.ReportStatus.txt=Report Status
    ColumnHeading.LoadedBy.txt=Loaded By
    ColumnHeading.ReportSchedule.txt=Report Scheduled
    ColumnHeading.ExtractTime.txt=Last Report Generated

  3. Update file prf-views.xml
    (location - http://server-name:port/SASContentServer/repository/default/sasdav/Products/SAS Merchandise Intelligence Server/Configuration Documents/prf-views.xml)

    In the tag <elements id="ProfilingProjectsColumnsElements" add the following lines:
    <element id="ProfilingProject_ReportID" width="150" required="false" visible="true" />
    <element id="ProfilingProject_ReportStatus" width="150" required="false" visible="true" />
    <element id="ProfilingProject_LoadedBy" width="150" required="false" visible="false" />
    <element id="ProfilingProject_ReportSchedule" width="70" required="false" visible="false" />
    <element id="ProfilingProject_ExtractTime" width="124" required="false" visible="false" />

  4. Update file pko-views.xml (location http://server-name:port/SASContentServer/repository/default/sasdav/Products/SAS Merchandise Intelligence Server/Configuration Documents/pko-views.xml)

    In the tag <elements id="PurchaseOrderPlan" add the following lines:
    <element id="ReportID" width="150" visible="true" />
    <element id="ReportStatus" width="150" visible="true" />
    <element id="LoadedBy" width="150" visible="false" />
    <element id="ReportSchedule" width="70" visible="false" />
    <element id="ExtractTime" width="124" visible="false" />


Importing .SPK File:

  1. Copy Size_Profiling.spk from <SASHome>/SASSizeProfilingMidTierLASRConfiguration/3.4/Config/Deployment/SASPackages/ to a folder on MI client machine.
  2. Take a backup of the existing metadata.
  3. Use SAS Management console to import the delivered SPK files.
    a. Log on to SAS Management Console as the Administrator (sasadm) user.
    b. Select the Folders tab.
    c. Right-click SAS Folders and select Import SAS Package.
    d. On the Import SAS Package page, browse to the location where the spk files were kept on the client machine and select the Size_Profiling.spk file.
    e. Select All Object and click Next.
    On the Select Objects to Import page, make sure that the following are available:
    In the SAS Folders > Products > SAS Merchandise Intelligence LASR > Size Optimization > Reports folder,
      - Butterfly chart
      - Triple Axis Chart
      - Sample - SAS Size Profiling Analysis of Results
    In the SAS Folders > Products > SAS Merchandise Intelligence LASR > Size Optimization > Reports Metadata folder:
      - Size Optimization LASR
      - SIZE_PROFILING_REPORT
    f. Click Next.
    g. On the About Metadata Connections page, the metadata properties are displayed. Click Next.
    h. On the SAS Application Servers page, select Application server of VA as the target application server and click Next.
    i. On the Other Servers page, select LASR Analytics Server and click Next.
    j. Review the Summary information and click Next, if the details are correct. Otherwise, click Back to make necessary corrections in the earlier steps.
    The next screen displays that the import was completed. Click View Log and scan the log for any errors. If the import was successful, the message "The import process completed successfully" appears in the log.
    k. Click Finish.


W22010  updates  SAS Merchandise Intelligence Plug-in for SAS Management Console 5.4

NONE


Z33006  updates  SAS Merchandise Intelligence Server 5.4

Run the Update Data Mart Script

Run the Update Data Mart Script to update the existing data mart:

1. Log on as MI ETL User (sasmi).

2. From the sasmi home directory, run the update_datamart script.
     /Lev1/Applications/SASMerchIntellServer5.4/sas/update_datamart.sh

3. Check the log file (update_datamart.log) for output and errors.
Note: When you run the update_datamart script, the system adds a date and time stamp to the name of the log file. This enables the system to maintain multiple versions of the log files. It also makes it easier to identify which log files correspond to specific runs of the scripts.

Here is an example of a log file that results from a script run on May 8, 2012, at 9:44 a.m.:
     update_datamart_20120508_0944.log


Note: This hot fix makes following schema changes. For details, see the Administrator’s Guide.

RDBMS changes:

1. Add two new columns to the table DI_TRANS.PRF_PROFILE
     ALTER TABLE PRF_PROFILE ADD PROFILE_STATUS_CD INTEGER;
     ALTER TABLE PRF_PROFILE ADD PROFILE_UPDATED_DTTM DATE;

SAS changes:

1. The stage table ‘STG_PROFILE’ is modified to apply datetime informat to STG_PROFILE.PUBLISHED_DT column.

Columns dropped from the table - SO_VAAR_REPORTS:
    1) PARTITION_FLG
    2) PROD_PARTITION_LEVEL
    3) SUB_START_DT
    4) NO_OF_WEEKS_FRM_SUB_START_DT

Column added in the table - SO_VAAR_REPORTS:
    1) PROJECT_SKS


New parameter added - ETLP_UPDATE_CLOSING_DT_WITH_NULL in Job-param:
   proc sql;
     delete from di_mon.job_param where UPCASE(JOBNAME) eq 'LOAD_STG2DM_GEOGRAPHY_DM'
    and UPCASE(PARAM_NAME) eq 'ETLP_UPDATE_CLOSING_DT_WITH_NULL';

     insert into di_mon.job_param(JOBNAME,PARAM_NAME,PARAM_VALUE,DEFAULT_FUNC)
     values('LOAD_STG2DM_GEOGRAPHY_DM','etlp_update_closing_dt_with_null','0','"0"')
     ;
    quit;

2. Job Param table
   - Job Param table(Job Name : DI_UTIL_CUSTOM_SORT_FORMAT) needs to be updated with the path of the SASFormats folder.
     Example - SAS-config-dir/Lev1/SASApp/SASEnvironment/SASFormats
   - Folder permission of SASFormats folder table should be changed to 775 for user SASMI
   - Modify the SO_Profiling_Analysis report in report designer with below changes:
    Sort options has to be set to Unformatted for Size Name column.


W20010  updates  SAS Merchandise Intelligence Workbench Server 5.4

NONE


W21010  updates  SAS Merchandise Solutions Configuration Workbench 5.4

NONE


Z35005  updates  SAS Pack Optimization Mid-Tier LASR Configuration 3.4

NONE


Z36005  updates  SAS Size Profiling Mid-Tier LASR Configuration 3.4

NONE


Y07005  updates  SAS Size Profiling Server 3.4

NONE


This completes the installation of hot fix W19011 on Windows for x64.


Copyright 2017 SAS Institute Inc. All Rights Reserved.