<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Clearview Informatics</title>
	<atom:link href="http://www.clearviewinformatics.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clearviewinformatics.com</link>
	<description>Business Productivity Solutions in the Cloud.</description>
	<lastBuildDate>Thu, 28 Jan 2010 02:26:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What is a business productivity solution?</title>
		<link>http://www.clearviewinformatics.com/2009/09/02/business-intelligence-and-analytics-for-your-customer-data/</link>
		<comments>http://www.clearviewinformatics.com/2009/09/02/business-intelligence-and-analytics-for-your-customer-data/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 13:12:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Clearview Informatics]]></category>

		<guid isPermaLink="false">http://www.clearviewinformatics.com/?p=125</guid>
		<description><![CDATA[It is simply an application that serves the needs of the business users. It helps the organization grow revenues, increase profits and drive operational efficiency. Clearview Informatics delivers business intelligence (BI), customer relationship management (CRM) and office productivity (OP) solutions configured for your business.
]]></description>
			<content:encoded><![CDATA[<p></p><p>It is simply an application that serves the needs of the business users. It helps the organization grow revenues, increase profits and drive operational efficiency. Clearview Informatics delivers business intelligence (BI), customer relationship management (CRM) and office productivity (OP) solutions configured for your business.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=What+is+a+business+productivity+solution%3F+http://b8ctx.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.clearviewinformatics.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.clearviewinformatics.com/2009/09/02/business-intelligence-and-analytics-for-your-customer-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Yellowfin BI 4.0</title>
		<link>http://www.clearviewinformatics.com/2009/02/03/installing-yellowfin-bi-40/</link>
		<comments>http://www.clearviewinformatics.com/2009/02/03/installing-yellowfin-bi-40/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 03:14:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Yellowfin]]></category>

		<guid isPermaLink="false">http://www.clearviewinformatics.com/?p=118</guid>
		<description><![CDATA[What follows is a walk through of the installation of Yellowfin Business Intelligence 4.0. This is the simplest type of install on Windows, as I have opted to use the default settings almost everywhere.
Start by double clicking on the install executable. The Yellowfin splash screen will appear.

Click Next to continue. Accept the terms and conditions [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>What follows is a walk through of the installation of <a href="http://www.yellwfin.bi" target="_blank">Yellowfin Business Intelligence 4.0.</a> This is the simplest type of install on Windows, as I have opted to use the default settings almost everywhere.</p>
<p>Start by double clicking on the install executable. The Yellowfin splash screen will appear.<br />
<img src="http://farm4.static.flickr.com/3043/3251471739_1e900f7d18_o.png" alt="Yellowfin BI Installation" width="611" height="269" /></p>
<p>Click Next to continue. Accept the terms and conditions and click next again. The next screen will give you the option to install the sample database and the Japanese language pack.</p>
<p style="text-align: center;"><img style="vertical-align: middle;" src="http://farm4.static.flickr.com/3405/3252308854_6fc80c7553_o.png" alt="Yellowfin BI Install" width="307" height="97" /></p>
<p>Click next to continue. The next screen will prompt you to browse to the liscense file. This file is provided by Yellowfin or an authorized partner.<br />
<img class="alignleft" style="float: left;" src="http://farm4.static.flickr.com/3047/3251486779_84f65b1fdd_o.png" alt="Yellowfin BI Install" width="639" height="115" /></p>
<p>Yellowfin installs with <a href="http://tomcat.apache.org/" target="_blank">Apache Tomcat</a>, although it can be deployed on other application servers as well. The next screen gives you the option to install Tomcat as a service, and to choose a port other than the default port, which is 80.<br />
<img src="http://farm4.static.flickr.com/3345/3251489883_d54347b904_o.png" alt="Yellowfin BI Install" width="523" height="136" /></p>
<p>Yellowfin requires a database to use as a repository. To keep things simple, choose the embedded <a href="http://hsqldb.org/" target="_blank">HSQLDB</a> database, which is fine for demo purposes or a small scale development environment.<br />
<img src="http://farm4.static.flickr.com/3358/3252322748_aa032b4b39_o.png" alt="Yellowfin BI Install" width="358" height="200" /></p>
<p>On the next screen, choose the installation path.<br />
<img src="http://farm4.static.flickr.com/3487/3252328544_8b7732f27f_o.png" alt="Yellowfin BI Install" width="640" height="68" /></p>
<p>The installation will now begin. A progress bar will appear. When it finishes, click the Next button to continue.<br />
<img src="http://farm4.static.flickr.com/3473/3252335814_2d25eda294_o.png" alt="Yellowfin BI Install" width="642" height="85" /></p>
<p>You will be prompted to select or create a Program Group for the Start menu shortcuts.<br />
<img src="http://farm4.static.flickr.com/3331/3252339438_acbab1227a_o.png" alt="Yellowfin BI Install" width="511" height="52" /></p>
<p>The installation is now complete. Click the Finish button to exit the installer program.<br />
<img src="http://farm4.static.flickr.com/3426/3252340856_ef00654149_o.png" alt="Yellowfin BI Install" width="247" height="99" /></p>
<p>To test the installation, start Yellowfin by using the shortcut in the Windows start menu or by starting the Yellowfin service. Once started, open up a web browser and go to localhost:&lt;port number&gt; . You should see the Yellowfin BI splash screen with a login prompt in the upper right hand side of the screen.<br />
<img src="http://farm4.static.flickr.com/3086/3252358076_0b8206959a_o.png" alt="Yellowfin BI Install" width="402" height="72" /></p>
<p>The default administrator login is user &#8216;admin@yellowfin.com.au&#8217; and password &#8216;test&#8217;.</p>
<p>Because the sample data was installed, the sample dashboard will appear.</p>
<p><img src="http://farm4.static.flickr.com/3021/3252369972_710b0b5a42_o.png" alt="Yellowfin BI Install" width="570" height="518" /></p>
<p>Congratulations, the Yellowfin Business Intelligence installation is now complete.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Installing+Yellowfin+BI+4.0+http://zkbwd.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.clearviewinformatics.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.clearviewinformatics.com/2009/02/03/installing-yellowfin-bi-40/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Features in IBM Cognos 8.3 Business Intelligence</title>
		<link>http://www.clearviewinformatics.com/2008/06/09/new-features-in-ibm-cognos-83-business-intelligence/</link>
		<comments>http://www.clearviewinformatics.com/2008/06/09/new-features-in-ibm-cognos-83-business-intelligence/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 19:17:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cognos 8]]></category>

		<guid isPermaLink="false">http://www.clearviewinformatics.com/?p=112</guid>
		<description><![CDATA[This article in Cognos Support Link magazine highlights some of the new features in Cognos 8.3 Business Intelligence, in particular the functionality that allows users to receive targeted information. Read the article on-line here: What&#8217;s New in IBM Cognos 8 BI version 8.3: More Targeted Information
]]></description>
			<content:encoded><![CDATA[<p></p><p>This article in Cognos Support Link magazine highlights some of the new features in Cognos 8.3 Business Intelligence, in particular the functionality that allows users to receive targeted information. Read the article on-line here: <a href="http://support.cognos.com/supportlink/features/fa_0805_02.html" target="_blank">What&#8217;s New in IBM Cognos 8 BI version 8.3: More Targeted Information</a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=New+Features+in+IBM+Cognos+8.3+Business+Intelligence+http://gpmw6.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.clearviewinformatics.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.clearviewinformatics.com/2008/06/09/new-features-in-ibm-cognos-83-business-intelligence/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Compiling the Cognos 8 SDK Java Samples on Windows</title>
		<link>http://www.clearviewinformatics.com/2008/05/15/setting-up-the-cognos-8-sdk-java-samples/</link>
		<comments>http://www.clearviewinformatics.com/2008/05/15/setting-up-the-cognos-8-sdk-java-samples/#comments</comments>
		<pubDate>Thu, 15 May 2008 14:26:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[Cognos 8 SDK]]></category>

		<guid isPermaLink="false">http://www.clearviewinformatics.com/2008/05/15/setting-up-the-cognos-8-sdk-java-samples/</guid>
		<description><![CDATA[When the Cognos 8 SDK is installed, the java libraries (jar files) are installed in the ..\c8\sdk\java\lib folder. The sample applications are located in individual directories in the ..\c8\sdk\java folder. Also included are two scripts, build-samples.bat (for Windows) and build-samples.sh (for Unix and Linux) for compiling the java samples. Here are the steps for compiling [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>When the Cognos 8 SDK is installed, the java libraries (jar files) are installed in the ..\c8\sdk\java\lib folder. The sample applications are located in individual directories in the ..\c8\sdk\java folder. Also included are two scripts, build-samples.bat (for Windows) and build-samples.sh (for Unix and Linux) for compiling the java samples. Here are the steps for compiling the samples:<br id="sflo0" /><span id="more-106"></span><br id="sflo1" />1. Verify that you have a JDK installed. Cognos 8 requires JDK 1.4 or higher. The JDK can be downloaded from Sun Microsystems <a id="r_i5" title="here" href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">here</a>.<br id="px4l0" /></p>
<p><a href="http://www.clearviewinformatics.com/wp-content/uploads/2008/05/snag-00171.png"><img class="alignright alignnone size-full wp-image-108" style="float: right;" title="snag-00171" src="http://www.clearviewinformatics.com/wp-content/uploads/2008/05/snag-00171.png" alt="" width="416" height="131" /></a></p>
<p>2. Check that the JDK location is in the Windows PATH environment variable. To do this, type &#8217;set path&#8217; from the command prompt.<br id="mif20" /></p>
<p>3. Open up the file CRNConnect.java in the ..c8sdkjavacommon folder. Edit the following line (line 102), if necessary, to reflect the location and port number of your Cognos 8 server:</p>
<pre><span style="font-family: Courier New;">public static String CM_URL = "http://localhost:9300/p2pd/servlet/dispatch";</span></pre>
<p>4. In the build-samples. bat file, modify the following line to reflect where the JDK is installed:</p>
<pre id="rn3z26" class="code">set JAVA_HOME=c:/jdk1.4.2_15 <br id="iane0" /></pre>
<p>5. If necessary, modify this line to point to where Cognos 8 is installed:<br id="rn3z1" /></p>
<p>6. Run build-samples.bat to compile the samples. This script will compile the sample code and create .class files in the folders. In each of the folders there will be a run.bat file.</p>
<p><img id="o:-61" style="width: 842px; height: 608px;" src="http://docs.google.com/File?id=dg3hk3rm_217cqk4kfcv_b" alt="" /></p>
<p>7. To test your compiled sample code, execute the run.bat file in the CapabilitiesGUI directory to run the sample Capabilities application.</p>
<pre id="rn3z26" class="code">
<div id="yjwa" style="padding: 1em 0pt; text-align: left;"><img id="qfbk0" style="width: 704px; height: 106px;" src="http://docs.google.com/File?id=dg3hk3rm_218hrtt2ddn_b" alt="" /></div>
</pre>
<p>8. If the URL is correct, click the OK button to connect to Cognos 8.</p>
<p><span id="lyt_0"><strong>Troubleshooting</strong></span></p>
<p>Upon running the sample code, the following error will occur if the java compiler compatibility flag needed to be set:</p>
<p><span style="font-family: Courier New;">Exception in thread &#8220;main&#8221; java.lang.UnsupportedClassVersionError: Bad version number in .class file.</span><br id="u8y30" /><br id="u8y31" />The samples will use the JRE that ships with Cognos 8. The error occurs because the java complier defaults to a version that is not compatible. To set the compatibility, in the build-samples.bat file, add the following two switches after &#8220;%JAVAC%&#8221;: -source 1.4 -target 1.4</p>
<p>The line will read as follows:<br id="n3rv0" /><br id="i-pm0" /><span style="font-family: Courier New;">&#8220;%JAVAC%&#8221; -source 1.4 -target 1.4 -classpath &#8220;%CLASSPATH%&#8221; Alerts/*.java CancelExec/*.java Common/*.java CapabilitiesGUI/*.java ContentStoreExplorer/*.java CreateDrillThrough/*.java DeployPackage/*.java DispatcherControl/*.java ReportCopyMove/*.java EventTrigger/*.java ExecReports/*.java ExecReportsAt/*.java GroupsAndRolesGUI/*.java HandlersCS/*.java PermissionsGUI/*.java PrintReport/*.java QueryCM/*.java RenderReport/*.java ReportAdd/*.java ReportCreate/*.java ReportDelete/*.java ReportParams/*.java ReportSpec/*.java ReportUpgrade/*.java runreport/*.java SaveAs/*.java Scheduler/*.java Security/*.java SendEmail/*.java Submit/*.java TesterCM/*.java ViewAll/*.java ViewCMReports/*.java ViewCMPackages/*.java</span><br id="i-pm1" style="font-family: Courier New;" /><br id="i-pm2" />Execute build-samples.bat again to recreate the class files.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Compiling+the+Cognos+8+SDK+Java+Samples+on+Windows+http://86c7m.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.clearviewinformatics.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.clearviewinformatics.com/2008/05/15/setting-up-the-cognos-8-sdk-java-samples/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Creating an Input File for Access Manager Batch Maintenance</title>
		<link>http://www.clearviewinformatics.com/2008/05/14/creating-an-input-file-for-access-manager-batch-maintenance/</link>
		<comments>http://www.clearviewinformatics.com/2008/05/14/creating-an-input-file-for-access-manager-batch-maintenance/#comments</comments>
		<pubDate>Wed, 14 May 2008 17:48:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Series 7]]></category>

		<guid isPermaLink="false">http://www.clearviewinformatics.com/?p=103</guid>
		<description><![CDATA[Creating users in a Series 7 namespace can be automated with Access Manager Batch Maintenance, but writing the required input file is an error prone and time consuming chore. This Visual Basic script will take a list of users from a comma-delimited file (it could be exported from Excel or some other system), create the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Creating users in a Series 7 namespace can be automated with Access Manager Batch Maintenance, but writing the required input file is an error prone and time consuming chore. This Visual Basic script will take a list of users from a comma-delimited file (it could be exported from Excel or some other system), create the users in the namespace, create the user classes, assign the users to their user class and then create a signon for the user. When the file is ready, the input file is run with Access Manager Batch Maintenance (via a batch file, so additional code can be inserted here if necessary). Finally, an email message is sent with the log file attached.</p>
<p>Notes:</p>
<ul>
<li>This example is written in Visual Basic, and it can be run as is on a Windows system under the Windows Scripting host (a vbs file). It can also be integrated into a Visual Basic or Cognos Script application.</li>
<li>The message is sent via Outlook on the machine where the script is run. If you are not using Outlook or Outlook is not installed where this script is being run, then this subroutine must be replaced by alternate code.</li>
</ul>
<p>Download the files:</p>
<p><a href="http://www.clearviewinformatics.com/wp-content/uploads/2008/05/accman_maintenance.vbs">accman_maintenance.vbs</a></p>
<p><a href="http://www.clearviewinformatics.com/wp-content/uploads/2008/05/users.csv">users.csv</a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Creating+an+Input+File+for+Access+Manager+Batch+Maintenance+http://cpxx3.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.clearviewinformatics.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.clearviewinformatics.com/2008/05/14/creating-an-input-file-for-access-manager-batch-maintenance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Series 7 Impromptu Automation</title>
		<link>http://www.clearviewinformatics.com/2008/05/14/series-7-impromptu-automation/</link>
		<comments>http://www.clearviewinformatics.com/2008/05/14/series-7-impromptu-automation/#comments</comments>
		<pubDate>Wed, 14 May 2008 13:16:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[Series 7]]></category>

		<guid isPermaLink="false">http://www.clearviewinformatics.com/?p=100</guid>
		<description><![CDATA[Here are two sample scripts to illustrate how to automate Impromptu using the Cognos Script macro language. Cognos scripts can be easily integrated into a Visual Basic, VB Script or an ASP script, as the language follows the same conventions as Visual Basic.  The first script will run a report and save the output [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Here are two sample scripts to illustrate how to automate Impromptu using the Cognos Script macro language. Cognos scripts can be easily integrated into a Visual Basic, VB Script or an ASP script, as the language follows the same conventions as Visual Basic.<br id="o:h20" /> <br id="o:h21" /> The first script will run a report and save the output as a pdf file. The format can easily be changed to csv or another supported format. This script is useful when you have long running reports that you would like to run in off hours. <br id="dayj0" /> <br id="dayj1" /> This second script runs the report and saves the output, like in the first script, but it also sends it as an email attachment. It uses Microsoft Outlook libraries to create and to send the message.</p>
<p>Download the sample code here:</p>
<p><a href="http://www.clearviewinformatics.com/wp-content/uploads/2008/05/save_pdf.mac">save_pdf</a></p>
<p><a href="http://www.clearviewinformatics.com/wp-content/uploads/2008/05/email_pdf.mac">email_pdf</a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Series+7+Impromptu+Automation+http://5xmys.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.clearviewinformatics.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.clearviewinformatics.com/2008/05/14/series-7-impromptu-automation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silent Installation of Cognos 8</title>
		<link>http://www.clearviewinformatics.com/2008/05/13/silent-installation-and-configuration-of-cognos-8/</link>
		<comments>http://www.clearviewinformatics.com/2008/05/13/silent-installation-and-configuration-of-cognos-8/#comments</comments>
		<pubDate>Tue, 13 May 2008 21:24:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cognos 8]]></category>

		<guid isPermaLink="false">http://www.clearviewinformatics.com/2008/05/13/silent-installation-and-configuration-of-cognos-8/</guid>
		<description><![CDATA[If you have many servers to install and configure, the unattended install feature of Cognos 8 can be a real time saver. It will save you from clicking through the installer multiple times and reduces the chances of missing a component. This feature is also useful when installing remotely, where the GUI will be slow, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p id="kzc59" class="MsoNormal"><span id="kzc510" lang="EN-US">If you have many servers to install and configure, the unattended install feature of Cognos 8 can be a real time saver. It will save you from clicking through the installer multiple times and reduces the chances of missing a component. This feature is also useful when installing remotely, where the GUI will be slow, or in the case of Unix and Linux, when X-Windows is not available.</span></p>
<p id="kzc511" class="MsoNormal"><span id="kzc512" lang="EN-US"> </span></p>
<p id="kzc514" class="MsoNormal"><span id="kzc515" lang="EN-US">The installation of Cognos 8 product is divided into two steps: first, copying over the files from the installation package and second, configuring parameters with Cognos Configuration.</span></p>
<p class="MsoNormal"><span id="more-99"></span></p>
<p id="kzc516" class="MsoNormal"><span id="kzc517" lang="EN-US"> </span></p>
<p id="kzc519" class="MsoNormal"><span id="kzc520" lang="EN-US">The first step is to get the install package on to your Unix server.</span></p>
<p id="kzc521" class="MsoNormal"><span id="kzc522" lang="EN-US"> </span></p>
<ol id="kzc524" style="margin-top: 0cm;" type="1">
<li id="kzc525" class="MsoNormal"><span id="kzc526" lang="EN-US">Ftp the install package to the server.</span></li>
<li id="kzc527" class="MsoNormal"><span id="kzc528" lang="EN-US">Extract it.</span>
<ol id="kzc529" style="margin-top: 0cm;" type="a">
<li id="kzc530" class="MsoNormal"><span id="kzc531" lang="EN-US">gunzip c8bisrvr_solaris_8.1.108.33_ml.tar.gz </span></li>
<li id="kzc532" class="MsoNormal"><span id="kzc533" lang="EN-US">tar –xvf  c8bisrvr_solaris_8</span><span id="kzc535" lang="FR">.1.108.33_ml.tar</span></li>
</ol>
</li>
</ol>
<p id="kzc537" class="MsoNormal"><span id="kzc538" lang="FR"> </span></p>
<p id="kzc540" class="MsoNormal"><span id="kzc541" lang="EN-US">If this is a Windows install, then use Winzip to extract the files to the local hard disk or to a shared location that will be available from the server.</span></p>
<p id="kzc542" class="MsoNormal"><span id="kzc543" lang="EN-US"> </span></p>
<p id="kzc545" class="MsoNormal"><span id="kzc546" lang="EN-US">The first phase of the installation will be automated with the use of an ats file (transfer specification file). These files are automatically generated in the c8/instlog directory whenever the Cognos software is installed. If you have already installed the software elsewhere, you can copy the ats file and use it again, provided the installation parameters are identical. If an ats file is not available, then a default one called response.ats is provided in the installation package. It is read only so you will have to make it writeable before editing it.</span></p>
<p id="kzc547" class="MsoNormal"><span id="kzc548" lang="EN-US"> </span></p>
<p id="kzc550" class="MsoNormal"><span id="kzc551" lang="EN-US">The contents of the response.ats file:</span></p>
<p id="kzc552" class="MsoNormal"><span id="kzc553" lang="EN-US"> </span></p>
<pre><span id="kzc556" lang="EN-US">[Dialog1]</span></pre>
<pre><span id="kzc558" lang="EN-US">Title=Welcome to the Installation Wizard</span></pre>
<pre><span id="kzc560" lang="FR">DE=0</span></pre>
<pre><span id="kzc563" lang="FR">EN=1</span></pre>
<pre><span id="kzc566" lang="FR">FR=0</span></pre>
<pre><span id="kzc569" lang="FR">JA=0</span></pre>
<pre><span id="kzc572" lang="FR">[Dialog3]</span></pre>
<pre><span id="kzc575" lang="EN-US">Title=Installation Location</span></pre>
<pre><span id="kzc577" lang="EN-US">APPDIR=</span></pre>
<pre><span id="kzc579" lang="EN-US">BACKUP=0</span></pre>
<pre><span id="kzc581" lang="EN-US">[Dialog6]</span></pre>
<pre><span id="kzc583" lang="EN-US">Title=Shortcut Folder</span></pre>
<pre><span id="kzc585" lang="EN-US">APPFOLDER=Cognos 8</span></pre>
<pre><span id="kzc587" lang="FR">ALLUSERS_FLAG=1</span></pre>
<pre><span id="kzc590" lang="FR">[Component List]</span></pre>
<pre><span id="kzc593" lang="FR">C8BISRVR_APP=1</span></pre>
<pre><span id="kzc596" lang="FR">C8BISRVR_APPLICATION_TIER=1</span></pre>
<pre><span id="kzc599" lang="EN-US">C8BISRVR_GATEWAY=1</span></pre>
<pre><span id="kzc5101" lang="EN-US">C8BISRVR_CONTENT_MANAGER=1</span></pre>
<pre><span id="kzc5103" lang="EN-US">[Install Conditions]</span></pre>
<pre><span id="kzc5105" lang="EN-US">RebootSystem=0</span></pre>
<p id="kzc5106" class="MsoNormal"><span id="kzc5107" lang="EN-US"> </span></p>
<p id="kzc5109" class="MsoNormal"><span id="kzc5110" lang="EN-US">Edit the file to have appropriate responses for your environment. The shortcut folder is ignored for a Unix install, as this is a Windows only feature.</span></p>
<p id="kzc5111" class="MsoNormal"><span id="kzc5112" lang="EN-US"> </span></p>
<p id="kzc5114" class="MsoNormal"><span id="kzc5115" lang="EN-US">To launch the install with the ats, use this command:</span></p>
<p id="kzc5116" class="MsoNormal"><span id="kzc5117" lang="EN-US"> </span></p>
<p id="kzc5119" class="MsoNormal"><span id="kzc5120" lang="EN-US">Windows:</span></p>
<pre><span id="kzc5120" lang="EN-US">issetup –s location/filename.ats</span></pre>
<p id="kzc5121" class="MsoNormal"><span id="kzc5122" lang="EN-US"> </span></p>
<p id="kzc5124" class="MsoNormal"><span id="kzc5125" lang="EN-US">Unix:</span></p>
<pre><span id="kzc5125" lang="EN-US">./issetupcc –s location/filename.ats</span></pre>
<p id="kzc5126" class="MsoNormal"><span id="kzc5127" lang="EN-US"> </span></p>
<p id="kzc5129" class="MsoNormal"><span id="kzc5130" lang="EN-US">A return code of 0 indicates success.</span></p>
<p id="kzc5131" class="MsoNormal"><span id="kzc5132" lang="EN-US"> </span></p>
<p id="kzc5134" class="MsoNormal"><span id="kzc5135" lang="EN-US">There will be two logs written to the c8/isntlog directory: a complete record of the installation and another log containing only the error messages. The log files are identifiable by Cognos product name and a date time stamp. For example, an installation of the the BI Server produces these two log files:</span></p>
<p id="kzc5136" class="MsoNormal"><span id="kzc5137" lang="EN-US">tl-C8BISRVR-8.1-108.33-20060601_1143.txt</span></p>
<p id="kzc5138" class="MsoNormal"><span id="kzc5139" lang="EN-US">tl-C8BISRVR-8.1-108.33-20060601_1143_summary_error.txt</span></p>
<p id="kzc5140" class="MsoNormal"><span id="kzc5141" lang="EN-US"> </span></p>
<p id="kzc5143" class="MsoNormal"><span id="kzc5144" lang="EN-US">The second phase of any Cognos installation is the configuration, which is usually done manually with the Configuration Manager GUI. To set up the unattended configuration, you must export the configuration settings from a server with the same components, make any necessary changes, then apply this configuration. If you do not have another installation to work from, you can open up Cognos Configuration on the server (note for Unix/Linux: X-Windows is required and the JAVA_HOME must be set), save out the default configuration, edit this file and use it for the silent configuration. Editing this 1000+ line xml file can be error prone, so it is advised to use an xml editor or a text editor that does language highlighting for xml. Here are the steps:</span></p>
<p id="kzc5145" class="MsoNormal"><span id="kzc5146" lang="EN-US"> </span></p>
<p id="kzc5148" class="MsoNormal"><span id="kzc5149" lang="EN-US">1. Open up Cognos Configuration. </span></p>
<p id="kzc5150" class="MsoNormal"><span id="kzc5151" lang="EN-US">2. Under the File menu, select &#8220;export as&#8221;.</span></p>
<p id="kzc5152" class="MsoNormal"><span id="kzc5153" lang="EN-US">3. Answer yes to the prompt &#8211; the export is plain text, so encrypted passwords will be exposed – be careful where this file is placed.</span></p>
<p id="kzc5154" class="MsoNormal"><span id="kzc5155" lang="EN-US">4. Edit the exported file if necessary.</span></p>
<p id="kzc5156" class="MsoNormal"><span id="kzc5157" lang="EN-US">5. Copy this file to the c8/configuration directory on the server where the configuration is to take place.</span></p>
<p id="kzc5158" class="MsoNormal"><span id="kzc5159" lang="EN-US">6. Rename the file to cogstartup.xml</span></p>
<p id="kzc5162" class="MsoNormal"><span id="kzc5163" lang="EN-US">7. Global configuration settings can be copied from another computer by copying over the coglocale.xml file. <br id="lej90" /></span></p>
<p id="kzc5165" class="MsoNormal"><span id="kzc5166" lang="EN-US">8. Run this command to apply the configuration settings and to start Cognos 8:</span></p>
<p id="kzc5167" class="MsoNormal"><span id="kzc5168" lang="EN-US"> </span></p>
<p id="kzc5170" class="MsoNormal"><span id="kzc5171" lang="EN-US">Windows:</span></p>
<pre><span id="kzc5171" lang="EN-US">cogconfig.bat -s</span></pre>
<p id="kzc5172" class="MsoNormal"><span id="kzc5173" lang="EN-US"> </span></p>
<p id="kzc5175" class="MsoNormal"><span id="kzc5176" lang="EN-US">Unix:</span></p>
<pre><span id="kzc5176" lang="EN-US">./cogconfig.sh –s </span></pre>
<p id="kzc5177" class="MsoNormal"><span id="kzc5178" lang="EN-US"> </span></p>
<p id="kzc5180" class="MsoNormal"><span id="kzc5181" lang="EN-US">Note that on Unix/Linux, the JAVA_HOME environment variable must be set before running this command.</span></p>
<p id="kzc5182" class="MsoNormal"><span id="kzc5183" lang="EN-US"> </span></p>
<p id="kzc5185" class="MsoNormal"><span id="kzc5186" lang="EN-US">Errors will show up in the logs in the /logs directory. Check the cogserver.log file for possible errors and to confirm that the service has started correctly.</span></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Silent+Installation+of+Cognos+8+http://bscm4.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.clearviewinformatics.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.clearviewinformatics.com/2008/05/13/silent-installation-and-configuration-of-cognos-8/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Configuring an Apache web server for Cognos 8 BI Server</title>
		<link>http://www.clearviewinformatics.com/2008/05/13/configuring-an-apache-web-server-for/</link>
		<comments>http://www.clearviewinformatics.com/2008/05/13/configuring-an-apache-web-server-for/#comments</comments>
		<pubDate>Tue, 13 May 2008 17:36:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cognos 8]]></category>
		<category><![CDATA[Web Servers]]></category>

		<guid isPermaLink="false">http://www.clearviewinformatics.com/2008/05/13/configuring-an-apache-web-server-for/</guid>
		<description><![CDATA[The first post-installation task after installing Cognos 8 is to configure the web server gateway. This article will step through configuring Apache for use with Cognos 8. For Cognos ReportNet, the same instructions apply, but the directories will be different.Create the web aliases or virtual directories.




Virtual  directory
File System Directory
Permission Required


cognos8
c8/webcontent
read


cognos8/cgi-bin
c8/cgi-bin
execute




c8 represents where Cognos 8 [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The first post-installation task after installing Cognos 8 is to configure the web server gateway. This article will step through configuring <a id="c6pt" title="Apache" href="http://httpd.apache.org/" target="_blank">Apache</a> for use with <a id="l3jz" title="Cognos 8" href="http://www.cognos.com/products/cognos8businessintelligence/index.html" target="_blank">Cognos 8</a>. For Cognos ReportNet, the same instructions apply, but the directories will be different.<br id="huoa0" /><br id="huoa1" /><span id="s5h20"><strong>Create the web aliases or virtual directories.</strong></span><br id="hef-0" /><br id="of7v0" /></p>
<div id="b2.r0">
<table id="gfaq" style="height: 90px;" border="1" cellspacing="0" cellpadding="3" width="542" bordercolor="#000000">
<tbody id="b2.r1">
<tr id="b2.r2">
<td id="b2.r3" width="33%"><strong>Virtual  directory<br id="b2.r4" /></strong></td>
<td id="b2.r5" width="33%"><strong>File System Directory<br id="b2.r6" /></strong></td>
<td id="b2.r7" width="33%"><strong>Permission Required<br id="b2.r8" /></strong></td>
</tr>
<tr id="b2.r9">
<td id="b2.r10" width="33%">cognos8<br id="b2.r11" /></td>
<td id="b2.r12" width="33%">c8/webcontent<br id="b2.r13" /></td>
<td id="b2.r14" width="33%">read<br id="b2.r15" /></td>
</tr>
<tr id="b2.r16">
<td id="b2.r17" width="33%">cognos8/cgi-bin<br id="b2.r18" /></td>
<td id="b2.r19" width="33%">c8/cgi-bin<br id="b2.r20" /></td>
<td id="b2.r21" width="33%">execute<br id="b2.r22" /></td>
</tr>
</tbody>
</table>
</div>
<p><br id="of7v1" />c8 represents where Cognos 8 is installed.</p>
<p><span id="more-98"></span><br id="q-ew1" />Find the httpd.conf file in the Apache/conf directory. Make a copy of this file as a backup. (Either copy it to another directory or make a copy with a different name.) Open the httpd.conf file in a text editor. <br id="nf4-0" /><br id="nf4-1" />At the bottom of the file, add the following lines:<br id="nf4-2" /></p>
<pre>ScriptAlias /cognos8/cgi-bin "c:/program files/cognos/c8/cgi-bin"
&lt;Directory "c:/program files/cognos/c8/cgi-bin"&gt;
Options FollowSymLinks
AllowOverride FileInfo
Order Allow,Deny
Allow from All
&lt;/Directory&gt;

Alias /cognos8 "c:/program files/cognos/c8/webcontent"
&lt;Directory "c:/program files/cognos/c8/webcontent"&gt;
Options FollowSymLinks
AllowOverride FileInfo
Order Allow,Deny
Allow from All
&lt;/Directory&gt;</pre>
<p>Save the http.conf file and restart Apache. <br id="s_8j2" /> <br id="lp9j0" /> Going to the virtual directory (ex., http://localhost/cognos8) will now bring up the Cognos 8 welcome page.<br id="zmi92" /></p>
<div id="s892" style="padding: 1em 0pt; text-align: left;"><img id="p:sd0" style="width: 802px; height: 464px;" src="http://docs.google.com/File?id=dg3hk3rm_196cbjgnghd_b" alt="" /></div>
<p><span id="rbz_0" style="font-size: 10pt" lang="EN-US"><span style="font-size: 10pt;"><span id="tjww0"><strong>Notes:</strong></span></span></span></p>
<hr id="fcnx0" style="width: 100%; height: 2px;" />
<ul>
<li><span id="rbz_0" style="font-size: 10pt" lang="EN-US">The ScriptAlias section must be before the Alias section.</span></li>
<li><span id="rbz_0" style="font-size: 10pt" lang="EN-US"><span style="font-size: 10pt;">The actual directory path has quotation marks around it because of the space in the path; otherwise, the quotation marks are not necessary.</span></span></li>
<li>By default, access to any directories on the server is denied by Apache. The <span style="font-size: x-small;"><span id="rbz_0" style="font-size: 11pt;" lang="EN-US"><span>&lt;Directory&gt;</span></span></span> section explicitly allows Apache to access the Cognos 8 directories. If this is mis-configured, then you will see the a 403 error, and &#8220;client denied by server configuration&#8221; errors in the Apache error.log file.</li>
<li><span id="rbz_0" style="font-size: 11pt" lang="EN-US">The &#8220;</span>cognos8&#8243; string can be changed to another name, but only if the Gateway URI parameter in Cognos Configuration is also changed. The cgi-bin string cannot be changed.</li>
</ul>
<div id="c2fz" style="padding: 1em 0pt; text-align: left;"><img id="i1bn0" style="width: 738px; height: 538px;" src="http://docs.google.com/File?id=dg3hk3rm_191cgmdjb9h_b" alt="" /></div>
<p><span id="r7bj0"><strong>Troubleshooting</strong></span></p>
<hr id="zser1" style="width: 100%; height: 2px;" /><br id="mx-91" /><span id="pyr60"><strong>Apache will not start after editing the httpd.conf file</strong></span><br id="ylhx2" /><br id="ylhx3" />If Apache will not start, there is likely a problem with the syntax in the httpd.conf file. Hopefully the message will give an indication of the problem. If you cannot find the problem, revert to the backup copy and start again.<br id="mx-93" /></p>
<div id="h2je" style="padding: 1em 0pt; text-align: left;"><img id="mx-94" style="width: 568px; height: 168px;" src="http://docs.google.com/File?id=dg3hk3rm_192gjwgcx6n_b" alt="" /><br id="r7bj1" /><br id="r7bj2" /><span id="np6p0"><strong>404 error &#8211; Object not found</strong></span><br id="n4g20" /><br id="n4g21" />The 404 error indicates that the virtual directory does not exist. Double check the alias names in the httpd.conf file.<br id="ttzy1" /></p>
<div id="yjzm" style="padding: 1em 0pt; text-align: left;"><img id="ttzy2" style="width: 806px; height: 279px;" src="http://docs.google.com/File?id=dg3hk3rm_194xqhj5tfq_b" alt="" /></div>
<p><span id="kcuf0"><strong>403 error &#8211; Access forbidden</strong></span><br id="kvwj0" /><br id="kvwj1" />The 403 error indicates a permissions problem. The Apache server might be running under an account that does not have read access to the Cognos 8 directories. Another possibility is that the alias is pointing to the wrong directory. The error.log file in the apache/logs directory should have an error message with more specific details.<br id="wi105" /></p>
<div id="dmkm" style="padding: 1em 0pt; text-align: left;"><img id="kvwj2" style="width: 758px; height: 282px;" src="http://docs.google.com/File?id=dg3hk3rm_193hgg4txgn_b" alt="" /></div>
<p>Another item to check is to ensure that the web server has read access to the cogstartup.xml file in the c8/configuration directory.<br id="d2zt0" /><br id="qf-v0" /><span id="zdi90"><strong>Unable to connect to the Cognos BI server<br id="au.t0" /><br id="au.t1" /></strong></span><span id="zdi90">If you see this error, then the virtual directories are configured correctly. The problem is that the Cognos 8 service is not running.</span><br id="qf-v2" /></p>
<div id="qdqr" style="padding: 1em 0pt; text-align: left;"><img id="rndl0" style="width: 893px; height: 196px;" src="http://docs.google.com/File?id=dg3hk3rm_195p2jvm6hc_b" alt="" /></div>
</div>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Configuring+an+Apache+web+server+for+Cognos+8+BI+Server+http://eo82i.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.clearviewinformatics.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.clearviewinformatics.com/2008/05/13/configuring-an-apache-web-server-for/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Setting up the Cognos 8 Samples on DB2</title>
		<link>http://www.clearviewinformatics.com/2008/04/23/setting-up-the-cognos-8-samples-on-db2/</link>
		<comments>http://www.clearviewinformatics.com/2008/04/23/setting-up-the-cognos-8-samples-on-db2/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 19:27:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cognos 8]]></category>

		<guid isPermaLink="false">http://www.clearviewinformatics.com/?p=89</guid>
		<description><![CDATA[Cognos 8 Business Intelligence ships with sample data and reports for a fictional company named &#8220;The Great Outdoors&#8221;. The samples are useful for testing the functionality of the product and for following the examples in the documentation. The Cognos 8 samples are similar to the samples shipped with Series 7 and ReportNet, but not exactly [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://www.cognos.com/products/cognos8businessintelligence/index.html">Cognos 8 Business Intelligence</a> ships with sample data and reports for a fictional company named &#8220;The Great Outdoors&#8221;. The samples are useful for testing the functionality of the product and for following the examples in the documentation. The Cognos 8 samples are similar to the samples shipped with Series 7 and ReportNet, but not exactly the same. It is recommended to use the sample data that shipped with the version of the product installed, or some of the sample reports will not work correctly. If you are using several versions of the Cognos software concurrently, this means restoring the data into different schemas or different databases. This tutorial will walk through restoring the sample data on DB2 and then setting up the sample reports. The five SQL scripts used to setup the database can be downloaded here:  <a title="found here" href="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/cognos8_sample_setup_db2.zip">cognos8_sample_setup_db2</a>.</p>
<p><strong>Create the sample database</strong></p>
<p><span id="more-89"></span></p>
<p>To start, connect to the DB2 database.</p>
<p>Create a database named cogsamp83 to use for the sample data by running this script:</p>
<p><span style="font-size: 10pt; font-family: Courier New;">db2 -tvf </span><a href="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/create_sample_db1.sql">create_sample_db.sql</a></p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth1.png" alt="" /></p>
<p>Create the <a href="http://www.ibm.com/developerworks/db2/library/techarticle/0212wieser/0212wieser.html">Buffer Pools and Tablespaces</a>. This step is not required if the buffer pools already exist. Prefix the names with &#8216;COG&#8217; to indicate that they were created for the use of the Cognos databases.</p>
<p style="padding-left: 60px;"><span style="font-size: 10pt; font-family: Courier New;">db2 –tvf </span><a href="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/create_buffer_pools.sql">create_buffer_pools.sql</a></p>
<p style="padding-left: 60px;"><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth2.png" alt="" /></p>
<p>Create a tablespace called COGSAMPLE:</p>
<p><span style="font-size: 10pt; font-family: Courier New;">db2 –tvf </span><a href="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/create_tablespace.sql">create_tablespace.sql</a></p>
<p>Create the five database schemas. If you are using Data Manager, create the optional sixth schema to use as a target for data manager. <span style="font-family: Tahoma;"><strong></strong></span></p>
<ul>
<li><span style="font-family: Tahoma;"><strong>GOHR</strong> GO Human Resources</span></li>
<li><span style="font-family: Tahoma;"><strong>GOMR</strong> GO Multilingual Retailers</span></li>
<li><span style="font-family: Tahoma;"><strong>GORT</strong> GO Retailers</span></li>
<li><span style="font-family: Tahoma;"><strong>GOSL</strong> GO Sales</span></li>
<li><span style="font-family: Tahoma;"><strong>GOSLDW</strong> GO Sales Data Warehouse</span></li>
<li><span style="font-family: Tahoma;"><strong>GODMT</strong> GO Data Manager Target</span></li>
</ul>
<p style="margin-left: 36pt; padding-left: 60px;"><span style="font-size: 10pt; font-family: Courier New;">db2 –tvf </span><a href="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/create_schemas.sql">create_schemas.sql</a></p>
<p style="margin-left: 36pt; padding-left: 60px;"><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth3.png" alt="" /></p>
<div>Some basic tuning should be applied to this database.</div>
<p><span style="font-size: 10pt; font-family: Courier New;">db2 –tvf </span><a href="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/tune_sampledb1.sql">tune_sampledb.sql</a></p>
<div><a href="http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/core/r0001936.htm">Catalogue the database</a> with these commands on every server where Cognos is running:</div>
<p><span style="font-size: 10pt; font-family: Courier New;">CATALOG TCPIP NODE dbnode<br />
</span></p>
<p><span style="font-size: 10pt; font-family: Courier New;">REMOTE dbhost SERVER 50000<br />
</span></p>
<p><span style="font-size: 10pt; font-family: Courier New;">CATALOG DATABASE cogsam83<br />
</span></p>
<p><span style="font-size: 10pt; font-family: Courier New;">AT NODE dbnode<br />
</span></p>
<p><span style="font-size: 10pt; font-family: Courier New;">WITH &#8216;Sample Data for Cognos 8&#8242;<br />
</span></p>
<p><strong>Restore the sample data</strong><span style="font-size: 10pt; font-family: Courier New;"><br />
</span></p>
<p>The sample files for DB2 are located here: &lt;InstallationLocation&gt;\c8\webcontent\samples\datasources\db2. If you only installed the Cognos 8 BI Server, then the samples schemas will have not been installed. You must retrieve the files from a separate Cognos installation package.</p>
<p>Extract the files in the GS_DB.tar archive. If you are using WinZip, you must disable CR/LF conversion; otherwise DB2MOVE will not read the files correctly. This done under the WinZip options menu, configuration, miscellaneous.</p>
<p>Be sure to extract the files to a location where you have full permissions. You might have to copy the GS_DB.tar.gz file to another location if you are using Windows Vista or a Windows Server edition.</p>
<div>Use the DB2MOVE command to restore the sample tables:</div>
<p><span style="font-size: 10pt; font-family: Courier New;">DB2MOVE cogsam83 IMPORT -U cognos -P admin1234<br />
</span></p>
<p>The command will write to a log file named import.out in the same directory.</p>
<p>Create the views and stored procedures. Edit the first line of the gs_db_modify.sql file to connect to your sample database with the correct user id and password. Then execute gs_db_modify.bat, which will run the SQL, creating the views and stored procedures required for the Cognos samples. This will create a log file called gs_db_modify.log.</p>
<p><strong>Connect from the Cognos Connection portal<br />
</strong></p>
<div>First test that the database is in the DB2 client catalogue on the Cognos server by running the following two commands:</div>
<p>DB2 LIST NODE DIRECTORY</p>
<p>DB2 LIST DATABASE DIRECTORY</p>
<div>Create the connection strings in Cognos Connection. From the Launch menu on the upper right hand side, select Cognos Administration.</div>
<p style="padding-left: 90px;"><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth4.png" alt="" /></p>
<div>Select the Configuration tab.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth5.png" alt="" /></p>
<div>Click the New Datasource icon to bring up this page.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth6.png" alt="" /></p>
<div>Enter a name and description and click Next. The sample package uses the name &#8216;great_outdoors_sales&#8217;, so keep this same name.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth7.png" alt="" /></p>
<div>Select DB2 as the datasource type from the dropdown list and click next.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth8.png" alt="" /></p>
<div>Enter the database name, and a user id and password that can be saved with the datasource.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth9.png" alt="" /></p>
<div>Scroll down to the bottom of the page and click the &#8216;Test the Connection&#8217; link.</div>
<p style="padding-left: 150px;"><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth10.png" alt="" /></p>
<div>The connection string is displayed. Click the Test button.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth11.png" alt="" /></p>
<div>If the connection is successful, this message will appear. If not, than an error will appear in the Message column. Click Close to continue.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth12.png" alt="" /></p>
<div>Click Close again, then Next. The command page will appear to set the commands to run when a datasource is accessed. We do not need any for this connection, so click Finish.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth13.png" alt="" /></p>
<div>The great_outdoors_sales datasource will appear in the list.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth14.png" alt="" /><br />
Create another datasource called <span style="color: black;">&#8216;great_outdoors_warehouse&#8217;</span>.  Use the exact same steps, connecting to the same database, with the additional step of adding a session command.  We need to point the connection explicitly to the gosldw schema.</p>
<div>At this page, click the set link that corresponds to the Open Session Commands row.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth15.png" alt="" /></p>
<div>Enter the following xml code and click OK.</div>
<p><span style="font-family: Courier New;">&lt;commandBlock&gt;<br />
</span></p>
<p style="margin-left: 36pt"><span style="font-family: Courier New;">&lt;commands&gt;<br />
</span></p>
<p style="margin-left: 72pt"><span style="font-family: Courier New;">&lt;sqlCommand&gt;<br />
</span></p>
<p style="margin-left: 108pt"><span style="font-family: Courier New;">&lt;sql&gt;SET CURRENT SCHEMA = GOSLDW&lt;/sql&gt;<br />
</span></p>
<p style="margin-left: 72pt"><span style="font-family: Courier New;">&lt;/sqlCommand&gt;<br />
</span></p>
<p style="margin-left: 36pt"><span style="font-family: Courier New;">&lt;/commands&gt;<br />
</span></p>
<p><span style="font-family: Courier New;">&lt;/commandBlock&gt;<br />
</span></p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth16.png" alt="" /></p>
<div>An excerpt of the command will appear under the value column. Click Finish to complete creating the datasource.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth17.png" alt="" /></p>
<div>The datasource will be added to the list.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth18.png" alt="" /></p>
<p><strong>Restore the sample packages and reports<br />
</strong></p>
<p>With the database connections created, the next step is to restore the sample packages and reports. The packages are located in &lt;install directory&gt;\webcontent\samples\content. Depending on what Cognos software is installed, the number of files here will vary. The reporting samples are in Cognos_Samples.zip.</p>
<p>Copy over the Cognos_Samples.zip file to the deployment folder. If this is a multi-server installation, copy over the zip file to the &lt;install&gt;\cognos\c8\deployment folder on the server where content manager is running.</p>
<div>In Cognos Administration, click the link on the left hand side for content administration.</div>
<p><img class="alignleft" style="float: left;" src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth19.png" alt="" /></p>
<div>The Content Administration page will appear.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth20.png" alt="" /></p>
<p>Click the New Import icon.</p>
<div>Select Cognos Samples and click the next button.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth22.png" alt="" /></p>
<div>Accept the defaults or specify an alternate name and location for the deployment specification.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth23.png" alt="" /></p>
<div>Select the folders and packages to import, or select the top checkbox to select them all. Click Next.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth24.png" alt="" /></p>
<div>Change any options from the default if desired. Click Next to continue.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth25.png" alt="" /></p>
<div>A summary will appear. Click next to continue.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth26.png" alt="" /></p>
<div>Select the last option, to save and run the deployment once. Click Finish to finalize the deployment import.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth27.png" alt="" /></p>
<div>Select the time to run the deployment, or accept the default &#8216;Now&#8217;. Click Run to begin.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth28.png" alt="" /></p>
<div>Click OK on this page to really run it. This screen is the last chance to back out of the import. Select to view the details immediately.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth29.png" alt="" /></p>
<div>The status screen will appear.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth30.png" alt="" /></p>
<div>Click the refresh button to see the latest status. Click Close when the import has finished.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth31.png" alt="" /></p>
<div>The saved deployment will appear in the list.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth32.png" alt="" /></p>
<div>Click the Home icon to exit Cognos administration and to go to Public Folders. The sample reports will be here.</div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth33.png" alt="" /><br />
Drill into a folder and select a report to run to test the samples setup.</p>
<div>This is the report called&#8217;Order Invoices &#8211; Donald Chow, Sales Person&#8217;<span style="color: black;">, found under &#8216;GO Sales (query)&#8217;, &#8216;Report Studio Report Samples&#8217;.</span></div>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1927-settingupth34.png" alt="" /></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Setting+up+the+Cognos+8+Samples+on+DB2+http://e8w3b.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.clearviewinformatics.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.clearviewinformatics.com/2008/04/23/setting-up-the-cognos-8-samples-on-db2/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Installing DB2 Express-C on Windows</title>
		<link>http://www.clearviewinformatics.com/2008/04/23/installing-db2-express-c-on-windows/</link>
		<comments>http://www.clearviewinformatics.com/2008/04/23/installing-db2-express-c-on-windows/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 17:24:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.clearviewinformatics.com/?p=54</guid>
		<description><![CDATA[IBM makes available a free version of their flagship DB2 database called DB2 Express-C. It is a competitor to Oracle Express, Microsoft SQL Server Express and MySQL. It is ideal for a development environment or a small pilot project, and it can be updated to a fully supported licensed version at any time. Cognos 8 [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://www.ibm.com/">IBM</a> makes available a free version of their <a href="http://www-306.ibm.com/software/data/db2/9/edition-enterprise.html">flagship DB2 database</a> called <a href="http://www-306.ibm.com/software/data/db2/express/">DB2 Express-C</a>. It is a competitor to <a href="http://www.oracle.com/technology/products/database/xe/index.html">Oracle Express</a>, <a href="http://www.microsoft.com/sql/editions/express/default.mspx">Microsoft SQL Server Express</a> and <a href="http://www.mysql.com/">MySQL</a>. It is ideal for a development environment or a small pilot project, and it can be updated to a fully supported licensed version at any time. <a href="http://www.cognos.com/products/cognos8businessintelligence/index.html">Cognos 8 Business Intelligence</a> supports reporting off this database and using it as the content store. This tutorial will step through the installation of DB2 Express-C on Windows.</p>
<p>Download DB2 Express-C from the IBM website:  <a href="http://www-306.ibm.com/software/data/db2/express/download.html">http://www-306.ibm.com/software/data/db2/express/download.html</a></p>
<p>Extract the files, and double click setup.exe to get started. On Windows Vista or Windows 2008 Server, right click the setup.exe and select &#8216;Run as Administrator&#8217;.</p>
<p><span id="more-54"></span></p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd1.png" alt="" width="599" height="351" /></p>
<p>On the left hand sidebar menu, click Install a Product.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd2.png" alt="" /></p>
<p>Click Install New. The installer program will start. Click next.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd3.png" alt="" /></p>
<p>Accept the license agreement and click Next.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd4.png" alt="" /></p>
<p>Choose the installation type.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd5.png" alt="" /></p>
<p>Click the View Features button to see what features will be installed with the Typical or Compact installation. For this tutorial, I will be installing the typical installation.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd6.png" alt="" /></p>
<p>Choose a location for the database. By default, it will install to c:\program files\IBM\SQLLIB.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd7.png" alt="" /></p>
<p>Provide a user account or select LocalSystem account. For this tutorial, I will use an account I created for the DB2 database called db2admin.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd8.png" alt="" /></p>
<p>The name of the DB2 instance that will be created appears.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd9.png" alt="" /></p>
<p>Click the configure button to see options for this instance.</p>
<p style="padding-left: 120px;"><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd12.png" alt="" /></p>
<p style="padding-left: 90px;">
<p style="padding-left: 120px;"><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd11.png" alt="" /></p>
<p style="padding-left: 90px;">
<p>A summary page will appear. Click the Finish button to continue the installation.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd13.png" alt="" /></p>
<p>The installation starts by copying over the files. If you are running Vista, you will be prompted to allow the installer to continue.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd14.png" alt="" /></p>
<p>After the files have been copied over, the post installation page appears. Click the Finish button to continue.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd15.png" alt="" /></p>
<p>The DB2 first steps menu comes up.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd16.png" alt="" /></p>
<p>Select Database Creation on the left hand sidebar menu. Click Create SAMPLE Database to test your installation and to install the sample database.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd17.png" alt="" /></p>
<p>Once complete, open up the DB2 Control Center. Click on Database Administration, Start DB2 Control Center. It can also be launched from the Windows Start menu, Programs, IBM DB2, instance name, General Administration tools.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd18.png" alt="" /></p>
<p>The sample database will be visible in the DB2 Control Center.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd19.png" alt="" /></p>
<p>DB2 installs six services. In this screen capture, DB2COPY1 is the instance name.</p>
<p><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd20.png" alt="" /></p>
<p>If you need to return to the First Steps menu, there is a short cut placed in the Windows Start Menu, under Programs, IBM DB2, &lt;instance name&gt;, Setup Tools.</p>
<p><strong>Test connectivity to DB2</strong></p>
<p>Once installed, test connectivity to the database with the following steps:</p>
<p>Open up a command prompt and run db2cwadmin.bat</p>
<p>A new window will open. Enter &#8216;DB2&#8242; at the prompt. This will start the DB2 command line client (CLI).</p>
<p>Connect to the database with this command:</p>
<p><span style="font-size: 10pt; font-family: Courier New;">CONNECT TO sample USER &lt;userid&gt; USING &lt;password&gt;</span></p>
<p style="padding-left: 90px;"><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd22.png" alt="" /></p>
<p>Run a simple SQL command as another test: <span style="font-family: Courier New;">select * from curried.sales where region = &#8216;Quebec&#8217;</span></p>
<p style="padding-left: 90px;"><img src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd23.png" alt="" /></p>
<p><strong>Troubleshooting<br />
</strong></p>
<p><img class="alignleft" style="float: left;" src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd24.png" alt="" /></p>
<p>On Windows Vista, the following error occurs when DB2 starts if the installer was run with administrator priveleges: DB2JAVIT : RC = 9505.</p>
<p>This forum posting has some details: <a href="http://www.ibm.com/developerworks/forums/thread.jspa?threadID=165035">http://www.ibm.com/developerworks/forums/thread.jspa?threadID=165035</a></p>
<p>Upon reboot and logging in after the installation, this error might appear: SQL5005C System Error.</p>
<p><img class="alignright" style="float: right;" src="http://www.clearviewinformatics.com/wp-content/uploads/2008/04/042308-1724-installingd25.png" alt="" /></p>
<p>To resolve this problem, add your user to the DB2ADMNS or the DB2USERS group. This is done through the Computer Management console, under Users and Groups.  Note that this console does not exist on all editions of Windows Vista, but users and groups can be managed using the NET command on all Windows editions.</p>
<p>NET LOCALGROUP – retrieve a listing of all local groups</p>
<p>NET USERS – returns a list of all local users</p>
<p>NET LOCALGROUP db2admns curried /add – add user &#8216;curried&#8217; to the local group &#8216;db2admns&#8217;</p>
<p>NET LOCALGROUP db2admns – returns a list of users who belong to the group &#8216;db2admns&#8217;</p>
<p><strong>Additional DB2 Resources:<br />
</strong></p>
<p>DB2 Express-C home page: <a href="http://www-306.ibm.com/software/data/db2/express/">http://www-306.ibm.com/software/data/db2/express/</a></p>
<p>DB2 Express-C download page:  <a href="http://www-306.ibm.com/software/data/db2/express/download.html">http://www-306.ibm.com/software/data/db2/express/download.html</a></p>
<p>DB2 Express-C developer handbook:  <a href="http://www.redbooks.ibm.com/abstracts/sg247301.html">http://www.redbooks.ibm.com/abstracts/sg247301.html</a></p>
<p>Directory of IBM and 3<sup>rd</sup> party resources:  <a href="http://www.db2express.com/">http://www.db2express.com/</a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Installing+DB2+Express-C+on+Windows+http://sf3fg.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.clearviewinformatics.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.clearviewinformatics.com/2008/04/23/installing-db2-express-c-on-windows/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
