IBM Cognos Analytics�������� 11.0
Samples Guide
IBM
©
���������������
��������������� IBM Cognos Analytics �������� 11.0.0 ��� �������������������������������
���������
����������������� - ������������ IBM
© Copyright IBM Corp. 2005, 2018.
������������������������ ������������������������������ – ������ ������� ����������������������� ��� GSA ADP Schedule Contract��� IBM Corp
IBM, ������������ IBM ��� ibm.com ��������������������������������������������������������� International BusinessMachines Corp. ������������������������������������� ������������� ������������������������������������������� IBM �������������� �������������� �������������������� IBM ��������������� “��������������� ��������������������” ��� www.ibm.com/legal/copytrade.shtml
������������������������������� ������������������������������������������� �:
v Microsoft, Windows, Windows NT ��������������� Windows ����������������������� Microsoft Corporation ������������������������ � ��������������
v Linux ��������������������������������� Linus Torvalds �������������� ���������� ���������������
v UNIX ��������������������������������� The Open Group �������������������������������
v Java ����������������������������������������� Java �������������������������������������������������������������Oracle ���/�����������������
© ������������ IBM Corporation 2005, 2015.© Copyright IBM Corporation 2005, 2015.
http://www.ibm.com/legal/copytrade.shtml
������
����� 1. �������� Cognos Analytics . . . . . . . . . . . . . . . . . . . . . . . . . . 1
����� 2. ��������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . 3�������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
����� 3. ���������������������������������������� . . . . . . . . . . . . . . . . . 5���������� Cognos Analytics Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
�������������������� Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5�������������������� UNIX ���� Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
���������������������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . 6����������������������� Db2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6����������������������� Oracle . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11����������������������� SQL Server . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
�������������������������������������������������������� . . . . . . . . . . . . . . . . . . . . . . 16������������������������ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16���������������������� Cognos Framework Manager . . . . . . . . . . . . . . . . . . . . . . . 17
����� 4. �������������������������������������. . . . . . . . . . . . . . . . . . . 19���������� Microsoft Analysis Services Cube Samples . . . . . . . . . . . . . . . . . . . . . . . 19������������ Essbase �������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20��������������������������������������������� OLAP . . . . . . . . . . . . . . . . . . . . . . . 21
������������������������������� PowerCubes . . . . . . . . . . . . . . . . . . . . . . . . . 21������������������������������� Oracle Essbase Cubes . . . . . . . . . . . . . . . . . . . . . . 22������������������������������� Microsoft Analysis Service Cubes . . . . . . . . . . . . . . . . . . 23
��������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24������������������������ IBM Cognos Dynamic Cubes . . . . . . . . . . . . . . . . . . . . . . . 25
������������������������������. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
����� 5. �������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Sample Outdoors Company . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Sample Outdoors Group of Companies . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Employees . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Sales and marketing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30��������� ����� ���������� Sample Outdoors . . . . . . . . . . . . . . . . . . . . . . . . . 31������������������������������������������ . . . . . . . . . . . . . . . . . . . . . . . 33
���������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . 37�������������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . 38
��������������������������������������������������. . . . . . . . . . . . . . . . . . . . . . . 38������������������������������������� (�������) ���� �������������� . . . . . . . . . . . . . . . . . . 39
�������� IBM Cognos Analytics - Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . 39����������������� Sample Outdoors Sales (�����) . . . . . . . . . . . . . . . . . . . . . . . 39�������� �� Sales and Marketing (Cube) Package. . . . . . . . . . . . . . . . . . . . . . . . 39���������� GO Data Warehouse (analysis) Package . . . . . . . . . . . . . . . . . . . . . . . 42
© ������������ IBM Corp. 2005, 2015 iii
���������� GO Data Warehouse (query) Package . . . . . . . . . . . . . . . . . . . . . . . 50����������������� GO Sales (analysis) . . . . . . . . . . . . . . . . . . . . . . . . . . 52���������� GO Sales (query) Package . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Prompt API �������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Cognos Mobile �������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57�������� Cognos Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
����������������� GO Data Warehouse (������������). . . . . . . . . . . . . . . . . . . . . . 59����������������� GO Data Warehouse (�������) . . . . . . . . . . . . . . . . . . . . . . . 59
������ Java �������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60������� Java ���������������������������� Windows . . . . . . . . . . . . . . . . . . . . . . 61������� Java �������������������� Linux ��� UNIX. . . . . . . . . . . . . . . . . . . . . . . 61
�������� IBM Cognos Analysis Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Combine Filters Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Custom Rank Sample. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63QTD Growth by Product Brand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Top 10 Promotions by Retailers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Difference between Actual and Planned Revenue . . . . . . . . . . . . . . . . . . . . . . . . 63�������������������������������������������������������������������� . . . . . . . . . . . . . . . . . 63
�������� IBM Cognos Query Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64���������� Go Data Warehouse (analysis) Package . . . . . . . . . . . . . . . . . . . . . . . 64Sample in the Go Sales (query) Package . . . . . . . . . . . . . . . . . . . . . . . . . . 64
����� 6. ������������� Sample Outdoors ��������. . . . . . . . . . . . . . . . . . . 65Warehouse Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69Transaction Schemas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
����� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
iv IBM Cognos Analytics �������� 11.0: Samples Guide
����� 1. �������� Cognos Analytics
IBM® Cognos® Analytics �� �������������������������������� ��������� ������ ������������������������������� ���������������� ������������������� Cognos Analytics ��������
������������� Cognos Analytics 4 ��������
���������������
��������������������������������������������� Cognos Analytics ���������������������������������������������������������
�������������������������������������������� ��������� ����� 2, “���������������������”, ������ 3
����������������
�������������������������������������������������� Cognos Analytics ��������������������������������������������������� IBM DB2®, Microsoft SQL Server ���� Oracle ���������������������������
����������������������������������������������������������������� ��������� ����� 3, “����������������������������������������”, ������ 5
�������������
�������� IBM Cognos Analytics ��������������������������� ������������������������������������������ Cognos Analytics
��������������������������� Supplementary (Legacy) IBM Cognos Analytics 11 Samples(https://www.ibm.com/communities/analytics/cognos-analytics-blog/supplementary-ibm-cognos-analytics-11-samples/)
����������������������������������������������������������������� ��������� ����� 4, “�������������������������������������”, ������ 19
������������������� �
���������� ����������������� � ������������������������ IBM Cognos Analytics
����������������������������� Samples Landing Page – IBM Analytics Communities (https://www.ibm.com/communities/analytics/cognos-analytics-blog/samples-landing-page/)
© ������������ IBM Corp. 2005, 2015 1
https://www.ibm.com/communities/analytics/cognos-analytics-blog/supplementary-ibm-cognos-analytics-11-samples/https://www.ibm.com/communities/analytics/cognos-analytics-blog/samples-landing-page/
2 IBM Cognos Analytics �������� 11.0: Samples Guide
����� 2. ���������������������
���������������������������������������������������������������������� IBM Cognos Analytics��������� ����������������������������������������������������������
����������������������������������� cognos_analytics_server_install_location\samples ���������������������������������������������������������������������������
������ ���������������������������������������������������������������Samples_for_Install.zip
���������
������������������������������� Samples_for_Install.zip ������� ������������������������������������������������������������ Cognos Analytics ������������������������������������������������ ��������� “��������������������������”
embedded_content
�������������������������������������������������������������� �������������������������� �������������� �������������������������������������������������� CognosAnalytics �� IBM Cognos Analytics �����������������������������
extensions
������������������������������������������������ ��������������������������������������������� ��������������������������������� IBM Cognos Analytics ���������������������
JavaScript
����������������������������� JavaScript ������ ����������������������������������������� PDF ��������������������
themes ������������������������������������������� ��������������������������������������������� ��������������������������������� IBM Cognos Analytics ���������������������
��������������������������
������������������������������������������������������������������������� IBM CognosAnalytics ������
���������1. ��� ������ > ������������������� ��������� IBM Cognos Administration
2. ������ ���������������� Content Administration
3. ��������������� �������������� ��������������������
© ������������ IBM Corp. 2005, 2015 3
4. ����� Samples_for_Install ���������������������� �������� �����������������������������������������
�������
��������������������� ������������� ������������������: Get Started, Samples���Templates
4 IBM Cognos Analytics �������� 11.0: Samples Guide
����� 3. ����������������������������������������
�������������������� ������������������� ���� �������������������� �������� ����������������������������������
���������������������� ���������������������������������������������������� IBM CognosAnalytics
IBM Cognos Analytics ������������������������������������� ������ ������� ���������������������������������� ������� Sample Outdoors Company �����������������
��������������������������������� �������������� ����������� ������ IBM CognosAnalytics ������� ����������� IBM Cognos Analytics Samples
���������� Cognos Analytics Sample
IBM Cognos Analytics ���������������������������������������������� Cognos Analytics
������������������������������� Cognos Analytics Sample �������������������� Cognos AnalyticsSamples ���� ���������������������cognos_samples_installation_locationwebcontent/samples ����������� ����������������������
������� ���������������������������������������������������
datasources
��������������������������������������
����� �������������������������� IBM Cognos Framework Manager ��������
�������������������� Windows
����������������������������������������� IBM Cognos Analytics ������������������������Microsoft Windows
���������1. �������������������������������������� ������������� bisamples\build-number ������
ca_samples_winx64_build-number.exe
2. ����������������������������
�������
���������� ��������������������� installation_location\cognos\samples\webcontent������������� ������������������������������ Cognos Analytics �������
© ������������ IBM Corp. 2005, 2015 5
installation_location\cognos\analytics
�������������������� UNIX ���� Linux
����������������������������������������� IBM Cognos Analytics ���������������� UNIX ����Linux
��������: ����������������� issetup ��� XWindows ����������������������������� ������������������ ��������������������������� UNIX ������� ���������������������������� LANG=C��� LC_ALL=C (������ C ������������ ���� ja_JP.PCK �� Solaris) ���������������������������������
��������������� XWindows ���������������������������������
���������1. ���������������������������������������������������������� ������������ ����������������
bisamples\build-number
2. �������������������: ./ca_samples_platform_build-number
������������������������������������� IBM AIX® ��� ./ca_samples_aix64_11.0.0.15121603
3. ������������������������������� ��������� �����������������������������������
�������
���������� ��������������������� installation_location/cognos/samples/webcontentdirectory ������������������������������������������� Cognos Analytics �������installation_location/cognos/analytics
����������������������������������������������
����������������������� IBM Cognos Analytics �������������������������������������������������������� ������������������������ Samples Outdoors �������������������������
����������������������� Db2
����������������������������������������������� IBM Db2
������������������������������������������ Db2 ������/ webcontent/samples/datasources/Db2
������� GS_DB.tar.gz����������� �������� GS_DB�������������������������
������ ����������������������������������
logs ������������������������������������������������������
unix ���������������������������������� Unix ��� Linux
6 IBM Cognos Analytics �������� 11.0: Samples Guide
win ���������������������������������� Microsoft Windows
�������� IBM Db2
���������������� Db2move (��������������������������������) ��� ������������������������������������������� data
��������� WinZip ������������������� Db2 �������������� Microsoft Windows ������������������� ������������������ TAR file smart CR/LF conversion ���
��������������������������� Db2 ���� ���������������� ���������������������� GS_DB
����������������������� �������� ������������ ������������������������� GS_DB ��������� ���������� gs_db_modify ��������������������������� ��������:
1. ����������������������������� gs_db_modify.sql���������
2. ��� gs_db_modify.bat
��������: ������������������������������������������ ��������������������������������������������������� ������������������
������������������������� Db2CODEPAGE ������� 1208
���������������������� GS_DB �������������������������������������� 32 KB ������������������������������� ������������������ ������������������������������� 32 KB ����
��������������������������� ���������������������������������� �����������������GO �������������������������������������������������������������� �����������������
������������������ IBM Db2 �������������
���������������������������������������������������������������������� Db2
������������������������������������ �������������� GS_DB tar.gz ������������������������ ������ �����������������
������������������������������������������������������ Great Outdoors ������ Db2 �� Linux,UNIX ��� Windows ������������������� ����������������� �����������������������������������
1. �������������� GS_DB.tar.gz�������� �������������������������� ��������� WinZip������������������� Db2 ���������������� Microsoft Windows ������������������������������������ TAR file smart CR/LF conversion
2. ���������������� Linux ��� UNIX ������������������������ ������ setupGSDB.sh �������������������������������: chmod u+x setupGSDB.sh
3. ������������������ ID ����������������������������������������� DBADM ��������������������Db2:
����� 3. ���������������������������������������� 7
v CREATETAB
v CREATE_NOT_FENCED_ROUTINE
v LOAD
�������: ������������������������
���������������� ������������������������������������������ ���������������� GOSALES ���������������������� ������������������������������
�������� 1. ���������������������������������������� IBM Db2
���������������������� ������� ����������
GOSALES_INST GS_DB �������������������������������������
GOSALES_BLU N ����������� ’Y’ ����������������������������� �������
GOSALES_CREATEDB �������: ������������������������������������������������
GOSALES_DB_TERRITORY US ������������������� ����������������������� UTF-8 ������������
GOSALES_BP
GOSALES_TS
GOSALES_BP
GOSALES_TS
�������: ���������������������������������� ����������������������
GOSALES_GRANTEES GOSALES, Db2ADMIN ������������������� ����� ����PUBLIC ��� ���������� CONTROL����������� GOSALES,GOSALESHR, GOSALESMR��� GOSALESRT �������������������������������� ������GRANT
GOSALESDW_GRANTEES GOSALESDW
Db2ADMIN
������������������� ����� ����PUBLIC ����� �������� CONTROL����������� GOSALESDW
GOSALES_DPF N ����������� ’Y’ ���������������database partitioned environment(DPF)
8 IBM Cognos Analytics �������� 11.0: Samples Guide
�������� 1. ���������������������������������������� IBM Db2 (���)
���������������������� ������� ����������
GOSALES_SCHEMA
GOSALESHR_SCHEMA
GOSALESMR_SCHEMA
GOSALESRT_SCHEMA
GOSALESDW_SCHEMA
GOSALES
GOSALESHR
GOSALESMR
GOSALESRT
GOSALESDW
������������������������������
����������������������������������������������������������������������������������
������������������������ ��������� GS_DB ������������ ����� ������ ����������� ���������������������������������������� ������������������� ����������������������������� ��������������������������������� ������������������������������������������� ����������������������������� GOSalesConfig
������������������������������������������
��������: ����������� ������������ UNIX �������������� Windows ������������������������������������ UNIX
������������������ Windows ��� GOSalesConfig.bat ������������������ UNIX ���GOSalesConfig.sh
����������������� ������������� GS_DB ��������������������������� Db2ADMIN (Linux, UNIX,Windows) ��� GOSALES
��������������������������������������
������ ��������� ������� setupGSDB������������� ��������������������������������������������������� GS_DB ���������������������������������������� ��������������������������������
v ����������������������������������������������
�������� 2. �������������������������������
�������������� ������
Microsoft Windows �� Db2 ������������������������ GS_DB/win������������� setupGSDB.bat
UNIX ��������������� ������������������ Db2profile���������������� GS_DB/unix�������������setupGSDB.sh
����� 3. ���������������������������������������� 9
v �� Enter ����������������� ������������������������������� �������������������������������������������������� ������������� �������� ����� Enter ���������������������������� ������������ �������������������������:
Please confirm the following settings:Database Name: GS_DBColumn-organized tables: N (Db2 on UNIX only)Drop and Recreate Database: YDPF environment: NCreate a 32 K Bufferpool named: GOSALES_BPCreate a 32 K Tablespace named: GOSALES_TSGOSALES Grant users/groups: GOSALES, Db2ADMINGOSALESDW Grant users/groups: GOSALESDW, Db2ADMINAdministration User Name: Db2adminImport the sample data to the following schemas:GOSALESGOSALESHRGOSALESMRGOSALESRTGOSALESDWWARNING: If the database GS_DB already exists it will be droppedContinue creating the sample data with these settings? (Y/N) Default=Y:
��������� GS_DB ������������
���������������������������������������������������
������� setupGSDB ��������������������������������������������� ��������������������
��������������������� ������������� �������������������������� �� Windows ������setupGSDB.bat���������������� UNIX ���� Linux ��� setupGSDB.sh
��� ���������������� setupGSDB ����� ���������������:
�������� 3. ������� setupGSDB ������ IBM Db2
������� ����������
-createdb �������������� ����������������� ����������� ��������������������������� ��������������������� ������������������������
-database database name �������������������� ������ ���������������������GS_DB
-userid administration_user_ID ����������� ID ����������� Db2 ������ �������������������
-password administration_user_ID ������������������ ID ����������� Db2
10 IBM Cognos Analytics �������� 11.0: Samples Guide
�������� 3. ������� setupGSDB ������ IBM Db2 (���)
������� ����������
-noprompt ��������������������� ������� ������������������������������������ �������� � ��������������� �������������� �������������������������������������� �
����������� 1: ����������������� Db2 ������������������������ GS_DB ��������������������� �����������������:
setupGSDB -createDB -noprompt
����������� 2: ����������������������������������������������� GSDBY ���������������� ID ����������� ID Db2admin �����������������:
setupGSDB -database GSDBY -userid Db2admin
���������������� ����������������������������������� GSDBY ��������������� ������� � ������������������������ GSDBY �������������� �������������������
�������: �������������������������� ����������������
������������������� GS_DB �������������������������� �������������������� �������������������������������������������� ������������������������������������������������������ �������������������������
v �������������������������������������������������� ������������������������� CREATEDATABASE��������� ������� UTF-8 codeset ���������������������� 32 KB ������ ��������������������������� ������������ ������������������ �������� ��������������������������������:
CREATEDATABASE GS_DB USING CODESET UTF-8 TERRITORY US PAGESIZE 32K
v ������������������������ ������������������������������:
Db2catalog tcpip node nodename remote ipaddr server port_numberDb2 catalog database GS_DB as GS_DB at node nodename
v ������������������������ �������������:
setupGSDB-database GS_DB -userid administration_user_ID
�����������������������������������������������������������
����������������������� Oracle
�������������������������������������������� Oracle
����� 3. ���������������������������������������� 11
����������������������� Oracle ��������������������������/ webcontent/samples/datasources/
oracle������� GS_DB_ORA.tar.gz������������������� GS_DB_ORA�������������������������
������ ����������������������������������
logs ������������������������������������������������������
unix ���������������������������������� Unix ��� Linux
win ���������������������������������� Microsoft Windows
�������� Oracle
������������������������� foreign key �������������������������� ���������� gs_or_modify.sql����������������� data
������������������ Oracle �������������
���������������������������������������������� ����������������������������� Oracle
������������������������������������ �������������� GS_DB_ORA.tar.gz������������������������ �����������������������
�������������������������������������������� Great Outdoors �������������� Oracle ������������������� ����������������� �����������������������������������
v �������������� GS_DB_ORA.tar.gz�������� ��������������������������
v ���������������� Linux ��� UNIX ������������������������ ������ setupGSDB.sh �������������������������������: chmod u+x setupGSDB.sh
v ������������ ID ��������������������������������� Oracle �� �����������������������������������������������
�������: ������������������������
���������������� ������������������������������������������ ���������������� GOSALES
�������� 4. ���������������������������������� ���������� Oracle
���������������������� ������� ����������
GOSALES_IMP_CMD imp ��������� �������������������� �������������������������������������������������������
GOSALES_INST ���������� Oracle
GOSALES_TS GOSALES_TS ���������������������������� ��������������������������������������������������
GOSALES_CREATE_TS �������: ��������������������������������������������
12 IBM Cognos Analytics �������� 11.0: Samples Guide
�������� 4. ���������������������������������� ���������� Oracle (���)
���������������������� ������� ����������
GOSALES_TEMP_TS ���������������������������� ����������������� ������������������������������������������ ������������������� ���������������������������
GOSALES_SCHEMA
GOSALES_SCHEMA_PW
GOSALES
GOSALESPW
��������������������������������������������� GOSALES ��������������������������������� �������������
GOSALESHR_SCHEMA
GOSALESHR_SCHEMA_PW
GOSALESHR
GOSALESHRPW
��������������������������������������������� GOSALESHR ��������������������������������� �������������
GOSALESMR_SCHEMA
GOSALESMR_SCHEMA_PW
GOSALESMR
GOSALESMRPW
��������������������������������������������� GOSALESMR ��������������������������������� �������������
GOSALESSRT_SCHEMA
GOSALESRT_SCHEMA_PW
GOSALESRT
GOSALESRTPW
��������������������������������������������� GOSALESRT ��������������������������������� �������������
GOSALESDW_SCHEMA
GOSALESDW_SCHEMA_PW
GOSALESDW
GOSALESDWPW
��������������������������������������������� GOSALESDW ��������������������������������� �������������
GOSALES_GRANTEES GOSALES ������������������������������� SELECT,INSERT, DELETE, UPDATE ���ALTER ����������� GOSALES,GOSALESHR, GOSALESMR ���GOSALESRT
��������: ����������GOSALES_SCHEMA ��������������SELECT, INSERT, DELETE, UPDATE��� ALTER ��������������
GOSALESDW_GRANTEES GOSALESDW ������������������������������� SELECT,INSERT, DELETE, UPDATE ���ALTER ����������� GOSALESDW
����������������������������������������������������������������������������������
���������������������� ��������������������������������������� ������������������� ����������������������������� �������������������� ���������������������������������������������������� ����������������������������� GOSalesConfig
��������������������� GOSalesConfig.bat���� GOSalesConfig.sh ���������������������
����� 3. ���������������������������������������� 13
��������������������������������������
�� ������������������ ������� setupGSDB������������� ������������������������������������������������������ ����������������� ���������������������������������������� ��������������������������������
v ����������������������������������������������
�������� 5. �������������������������������
�������������� ������
Microsoft Windows ���������������� DOS ������������������������GS_DB_ORA\win������������� setupGSDB.bat
UNIX ��������������� ������������������������GS_DB_ORA/unix������������� setupGSDB.sh
v �� Enter ����������������� ��������������������������������������� ���������������������������������������������������������� ������������������ ������������� ������������� Enter ���������������������������� ������������ �������������������������:
Please confirm the following settings:
Instance Name is ORAINST123Create the following user accounts and import the data:GOSALESGOSALESHRGOSALESMRGOSLAESRTGOSALESDW
Default tablespace is GOSALES_TSTemporary tablespace is DEFAULTAdministration User name is sys
WARNING: If the users already exist they will be dropped
Create a Tablespace named GOSALES_TS
Grant select on the GOSALES schemas to GOSALESGrant select on the GOSALESDW schema to GOSALESDW
Continue creating the sample data with these settings?(Y/N) Default=Y:
�������: ����������������������� UNIX �������������� Windows ������������������������������������ UNIX
���������������������������������������������������
������� setupGSDB ��������������������������������������������� ��������������������
14 IBM Cognos Analytics �������� 11.0: Samples Guide
��������������������� ������������� �������������������������� �� Windows ������setupGSDB.bat���������������� UNIX ���� Linux ��� setupGSDB.sh
��� ���������������� setupGSDB ����� ���������������:
�������� 6. ������� setupGSDB ������ Oracle
������� ����������
-createdb����������� ����������������� ��������������������������������
-database database name�������������������� Oracle ������ ����������������������������������������������
-userid administration_user_ID����������� ID ����������������� Oracle ����������������������
-password administration_user_ID������������������ ID ������ ����������� Oracle
-noprompt��������������������� ������� ������������������������������������ �������� � ��������������� �������������� �������������������������������������� �
����������� 1: ������������������ Oracle ���������� ���������������������������������� ��������������������:
setupGSDB -createDB -noprompt
����������� 2: ������������������������������������������������ ���������������� ���������������� ID ����������������� sys �����������������:
setupGSDB -YourOracleInstance -userid sys -sysdba
���������������� �������������������������������������������� Oracle ����������� ����������������� � �������������������������� ������������������������������
����������������������� SQL Server
�������������������������������������������� Microsoft SQL Server
����������������������� SQL Server ������ /webcontent/samples/datasources/sqlserver������������������ GOSALES ���GOSALESDW �� SQL Server ������������������������������ ������ GOSALES.zip���GOSALESDW.zip��������
����� 3. ���������������������������������������� 15
��������������������������������������������������������
IBM Cognos Analytics �������������������������������������������������������������������������������������������� �������������� ����������������������
�������������������������������������������� ���� great_outdoors_sales���great_outdoors_warehouse������������������������������������������������ ����������������������������
Microsoft SQL Server������������� ��� GOSALES ������������������ great_outdoors_sales���GOSALESDW ������������������ great_outdoors_warehouse
IBM Db2������������� ��� GS_DB �������������������������
Oracle ���������������������������� Oracle ���������� tnsnames.ora�������������������������
������������������������������������������������������
v ��������������������� IBM_Cognos_Samples_CQ_Legacy ����������������� ������������������������������������������������ IBM Cognos Analytics �����������������������������������������
v ������������������������ IBM_Cognos_Samples_CQ_Legacy ����������������������������������������������������������������������� IBM Cognos Analytics ���������������������
������������������������
�������������������������������������������� ������������������������������������� ��������
������������������
IBM Cognos Analytics Samples ���������������������������� ��\webcontent\samples\content
v IBM_Cognos_Samples
v IBM_Cognos_Prompt_API
v IBM_Cognos_Audit
v IBMCognos10\IBM_Cognos_Samples_CQ_Legacy
v IBMCognos10\IBM_Cognos_Samples_DQ_Legacy
16 IBM Cognos Analytics �������� 11.0: Samples Guide
���������1. ������������������������������� (.zip) ��������������������� ������� ��������������
���������������������� Cognos ������� Deployment files location������� ���/deployment
2. ��� ������ > ������������������� ��������� IBM Cognos Administration
3. ������ ���������������� Content Administration
4. ��������������� �������������� ��������������������
5. ������������������������������������������������������ New Import�������������������������������������
6. �����������������������������������������������������
�������
������ ���������������������������������������������������������� ��������������������������������������������� ����������
���������������������� Cognos Framework Manager
����������������������������������������������������������������� ������� Sample OutdoorsCompany
�������������� / webcontent/samples/models����������
v great_outdoors_sales ���������������������������� GOSALES
v great_outdoors_warehouse �������������������� GOSALESDW
�������������������������������������������������� ���������������������������������������������������������������������� ��������� ������������ IBM Cognos Framework Manager
��������: Transformer ��������������������� GO Data warehouse (query) ������������������������������� � ������������������ ����������������������������������������� ��������������������������������� �������������� ��������������������������� Transformer �������
GO Sales Model
������������������ ����������������������������������� Sample Outdoors ���������������������������������������� Event Studio �������� ����������������������������������� ������������ �������������������������������������������������������������� (������������)
����� 3. ���������������������������������������� 17
GO Data Warehouse Model
������������������ ���������������������� ������������� ������������������������������������� Sample Outdoors ����������������������� �������������������� ����������������������������� �������������������������������������������������������������� (������������)
18 IBM Cognos Analytics �������� 11.0: Samples Guide
����� 4. �������������������������������������
������������������������������������������������������������ ���� ������������������������������������������������������� IBM Cognos Analytics
���������������������������������� �������� Supplementary (Legacy) IBM Cognos Analytics11 Samples (https://www.ibm.com/communities/analytics/cognos-analytics-blog/supplementary-ibm-cognos-analytics-11-samples/) ������������ LegacySamples.zip������� .zip �������������� Samples����������������������������������� ������ ����������������������������������������������������
���������� Microsoft Analysis Services Cube Samples
��������������������������� Microsoft Analysis Services (MSAS)
����� MSAS ������������� Samples\datasources\cubes\MSAS������������� MSAS������������� Samples\content\MSAS
���������������������� �������� GO Finance Fact �������������������� GOSALESDW �������������������������� year-to-date �������������������������������� ����������� ���������������������� Analysis Studio, Query Studio ��� Reporting ������������������������������������������������ 2004, 2005, 2006 ���� 2007 (���������������� 7 �������������)
�������� MSAS2005 ���������� GOFinanceFact_XX.abf XX ��� ���� ������������ XX ���������� EN ����������� ���������� ���������������������� MSAS2008 �������� ��������������������� �������������� 2005 ��������
������������������ �������� GOSalesFact �������������������� GOSalesFact_XX AnalysisServices ��������� GOSALESDW SQLSERVER Database ��������������������� ���� �������������� ������������ ������ �������������� �������������� Time, Product ���Retailers
�������� MSAS2005 ��������������� GOSalesFact_XX.abf ��������������������
��������������������������������� Microsoft SQL Server ������ Microsoft Analysis Services �������������������������� GOSALESDW
��������: ���� Microsoft XML 6.0 Parser ��� Microsoft SQL 2005 Analysis Services 9.00OLEDB Provider ������������������������������ ������������������������������������ MSAS�����
© ������������ IBM Corp. 2005, 2015 19
https://www.ibm.com/communities/analytics/cognos-analytics-blog/supplementary-ibm-cognos-analytics-11-samples/https://www.ibm.com/communities/analytics/cognos-analytics-blog/supplementary-ibm-cognos-analytics-11-samples/
���������1. ���������� GOSALESDW.cab ��� GOSALESDW.abf ��������������� ����������������
������������ Analysis Manager �� Analysis Servers ��� Microsoft SQL Server
2. ��� Microsoft Analysis Services Analysis Manager �����������������������������GOSALESDW.cab ��� GOSALESDW.abf
�������
��������������������������������������������������������� MSAS ���������� CognosAdministration ������������� GOSalesFact_XX ���� GOFinanceFact_XX ����� ��������������
������������ Essbase ��������
���������������������������� Essbase
������������������� Samples\datasources\cubes\Essbase\Outlines_and_Raw_Data
������������������������ Essbase �������� �������������� Oracle Essbase ��� Essbase IntegrationServices Console ��������� ��������������������� Essbase ������������ GODBReduced.zip����������������������������������������� GODWENU ����������������������������������� ��� unzipGODBReduced.zip �������� otl��� txt �������������� Essbase �������������������
���������1. Unzip ��������������������
���� zip ��������������������������:
v languageU_Data.txt ���� ENU_Data.txt���� JAU_Data.txt
v GODWlanguageU.otl ���� GODWENU.otl���� GODWJAU.otl
2. ������������������������� Essbase ����������������� Unicode
3. ����������������� ���������������������
��� ��������� GODWlanguageU ���� GODWENU���� GODWJAU ���� ������������������� �������������������������
4. ���������������� GODWlanguageU.otl ���������������������������
5. ����������������������������������� 4 ������� GODWlanguageU ������������������GODWlanguageU.otl ��������������������������������������
������ ������������������������� otl
6. �������� Essbase Administration Services ���������������������������������
��������� ���������������������������������������������������
7. ���������� languageU_Data.txt������������������������������ otl
8. �������� Essbase Administration Services �����������������������������������������Load Data
20 IBM Cognos Analytics �������� 11.0: Samples Guide
9. ����������� languageU_Data.txt ��������������������� ���������������� OK
10. ���������������������������������� ���������������������� �������� ExecuteCalculation
11. �������������������� ������� OK
��������������������������� 5 ������� ������������������ ��������������������� EssbaseOLAP Server
�������
���������������������������������������������������
��������������������������������������������� OLAP
����������������������������� ���������������������������������������������� ����������� OLAP
��������������������������� Microsoft Analysis Services ���������������� Oracle Essbase ����������������������� �����������
��������������������������������������� ���������������������������� ����������� ���������������������������������������������������������������� Data Source Connections��������� traverse �������������������������������������� Administration����������������������������������� Cognos
����������� OLAP ��������������������� Samples\datasources\cubes
v GO Sales Fact and GO Finance Fact Microsoft Analysis Services cubes
v Sample Outdoors Company cubes �������������� sales_and_marketing,employee_expenses, go_accessories, go_americas, go_asia_pacific ���great_outdoors_sales_en
v ����� Sample Outdoors Db2
������������������������������� PowerCubes
������������������������������������������������������ ��� PowerCube
���������1. �� IBM Cognos Administration �������������� ������������
2. �����������������������
3. ��������������������������������������������������� Sales and Marketing ��������sales_and_marketing ������� ������������ �����
4. ������ ������������ ������ ���� ������� IBM Cognos PowerCube�������� �����
���� ����������������� ����������������������������������
����� 4. ������������������������������������� 21
5. �������: ������� Read cache size (MB) �����������������������������������������
������������������������������� ppds_cfg.xml ����������������������� ��������� 0
6. ������� Windows location �������� ��������������������� sales_and_marketing.mdc������ ����������������������� �������� �����
install_location/webcontent/samples/datasources/cubes/PowerCubes/En/
Sales_and_Marketing.mdc
��� ������������������������������� Microsoft Windows ������������������������ UNIX
��� �������������� UNIX ������ �������������� Framework Manager ������������������ Windows ������������������������ �������������������� Windows ����Framework Manager ���������������������������� Windows ��������
7. ��������������������������������������������� �����������:
v ���� �����������������
v ���� �����
v ���������������������� ������� �����������
8. ���� Finish
�������
������ ������������������������ IBM_Cognos_Powercube.zip �������� ������ PowerCube�������������������������������������������������������� �����������
������������������������������� Oracle Essbase Cubes
������������������������������������������������������ �������� Oracle Essbase
��������: �����