Professional Documents
Culture Documents
Version 2.0
Copyright Copyright © 2017, SAS Institute Inc., Cary, NC, USA. All rights reserved.
Produced in the United States of America.
U.S. Government Restricted Use, duplication, or disclosure of this software and related documentation
Rights Notice by the U.S. government is subject to the Agreement with SAS Institute and
the restrictions set forth in FAR 52.227-19, Commercial Computer
Software-Restricted Rights (June 1987).
Trademarks and Patents SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513.
SAS® and all other SAS Institute Inc. product or service names are
registered trademarks or trademarks of SAS Institute Inc. in the USA and
other countries. ® indicates USA registration.
Contents
1 Document Information.................................................................3
1.1 Revision History..............................................................................................................3
1.2 Document Distribution....................................................................................................3
1 Document Information
This document describes the deployment of AML Operational Reports (AMLR) in SAS Visual
Analytics (VA) on AML 7.x platform.
4. Copy the extracted global macro codes from AMLR\ETLCodes\Global\macros (of the
downloaded repository) to D:\opt\sasinside\Projects\global\macros path.
a. amlr_create_lasr_table_alert.sas
b. amlr_create_lasr_table_cases.sas
c. amlr_create_lasr_table_rr_branch.sas
d. amlr_custom_reporting_formats.sas
e. amlr_fsk_lov_formats.sas
f. amlr_load_reporting_parameters.sas
g. amlr_raw_extract_alert.sas
h. amlr_raw_extract_case.sas
i. amlr_raw_extract_rr.sas
j. amlr_user_mapping_formats.sas
k. declarelasrlibrary.sas
l. fcsautoexec.sas
m. amlr_create_lasr_table_ctr.sas
n. amlr_create_lasr_table_sar.sas
5. Copy the extracted codes from AMLR\ETLCodes \programs (of the downloaded
repository) to D:\opt\sasinside\Projects\bank1bu\programs path.
a. amlr_alerts.sas
b. amlr_cases.sas
c. amlr_create_reporting_extracts.sas
d. amlr_rr_branch.sas
e. amlr_sar.sas
f. amlr_ctr.sas
script from the downloaded AMLR/DDL folder on the KC schema of the respective BU to insert
data into the corresponding AMLR_PARAMETERS and AMLR_SAR_REASON tables
1.2 Steps
to create
LASR
tables
1. Check fcsautoexec.sas (or other file(s) which may be used for initializing the SAS libraries) for
the code shown below. This code may be added to fcsautoexec before executing the file.
The specific code changes made to fcsautoexec.sas is shown below. The code has been attached
in a text file for ease of use.
Add lines to derive the bnkval from the parameter passed and format library path for autoload
/*To access pre-installed BANKXBU folders for config exec files, extracting the numeric value from
BNK macro variable and replacing as BANK1BU,BANK2BU,etc*/
%let num=%sysfunc(compress(&bnk,,kd));
%let bnkval=BANK&num.BU;
%let
fmts_global_format_path=&sasbase.\AppData\SASComplianceSolutions\&bnkval.\AutoLoad\Formats;
%if %length(&rpt) gt 0 and &rpt ne 0 %then %do; /* rpt is name variable checked for executing
rpt_autoexec.sas */
libname FMTS_G "&fmts_global_format_path";
/*Declare BANK1BU LASR library*/
%LET AL_META_LASRLIB=%str(Compliance Solutions &bnkval LASR Library);
%declarelasrlibrary(libref=LASRSRV, name=%str(&AL_META_LASRLIB));
%include "&cshome.\&bnkval.\custom\config\rpt_autoexec.sas";
%end;
2. Optional Step: Execute ‘AML 7.x Reporting Test-data User Guide Windows v1.0’ to generate
mock data if no AML AGP data is available.
Note: If no AML AGP data available to the environment, the test data generation code
‘create_mock_data_for_demo.sas’ should be executed.
Optional step: Please refer to the below link for information on configuring Autoload for SAS VA
application. This step is only necessary is autoload has not been configured.
http://support.sas.com/training/tutorial/gel/gelva03.html
1. Navigate to the below path (path relative to the opted bank unit),
D:\opt\sasinside\Config\Lev1\Applications\SASComplianceSolutions\BANK(n)BU\AutoLoad
2. Execute the batch script ‘runsas.bat’ and verify its completed successfully by checking the latest
log in
“D:\opt\sasinside\Config\Lev1\Applications\SASComplianceSolutions\BANK(n)BU\AutoLoad\
Logs” for no errors.
Step3: Import AMLR_REPORTS.spk (from the downloaded repository folder AMLR/spk) in the newly
created AMLR Reporting folder of the SMC.
Right click on AMLR Reports folder -> Click on Import SAS package -> Choose the downloaded
AMLR_REPORTS.spk from your local machine where you have the downloaded AMLR repository
AMLR/spk.
Once the reports are imported, the AMLR Reporting folder should contains two folders
1. Login to VA with sasdemo user(or any valid user) -> Click on ‘Browse’ -> Choose ‘AMLR-
Reporting’ ->Choose the reports from the Alerts and cases Reports folder or SAR and CTR
Reports Folder.(Follow the below highlighted rootpath)
2. Ensure that there are 18 reports available
3. Open each report and navigate through the sections, ensure that each section has charts and grid
data.