Posts

Showing posts with the label IBM Cognos 8

Invalid URL Syntax

When an email is sent through Cognos with a link to a Cognos report output, a message with 'Invalid URL syntax' is seen intermittently. Multi-server environment with a stand alone Content Manager (no gateway URI field in Cognos Configuration). Issue seen intermittently as it only fails when delivery done through Content Manager. When delivery through Application Tier service, link works. Depending on mail client, will either see 'Invalid URL syntax' or the link is simply not 'clickable'. If the URL is visible in the mail client, the server name (gateway) will be missing from the URL. Cause By default the Delivery Service is enabled on CM only and App Tier only installs. When running a report and sending link via email, you must have saved output. When the Delive...

How to filter a report using a comma-separated string entered in a text box ?

This technique will allow users to enter a comma-separated string of multiple values that can be passed to a report parameter as a list of multiple items (essentially behaving as a mult-select prompt.) Text box prompts in IBM Cognos ReportNet (CRN) and Cognos 8 (C8) have a special 'Multi-Select' mode that allows users to enter multiple values to pass to a parameter in a report. To use a multi-select text box prompt, a user has to enter a value and hit an 'Insert' button to take a just-entered value and add it to a list of items that will be passed to the report parameter. In some cases, a more efficient way to pass multiple text strings to a parameter in a report is to enter comma separated values such as, "Camping Equipment, Mountaineering Equipment, Golf Equipment" rather than entering each value and hitting the "Insert" button in a multi-select text box prompt. There is no direct way to have a text box prompt handle a comma-separated value st...

How to allow comma separated values to be entered into a text box prompt ?

Use a filter expression to parse out the values. For example, a report has a prompt with parameter ?ParamZipCode? and is used to filter query item [Zip Code] The filter expression would be as follows: cast([Zip Code],varchar(200)) in ( #csv ( split(' ', split(',', split(' ,', split(' , ', split(', ', prompt('paramZipCode','token') ) ) ) ) ) ) # ) This filter converts the Zip Code to text and looks for the value IN a list of comma separated values. Due to the nature of the macro functions, the result of the function is a series of string elements. The cast function applied to a numeric field ensures that the appropriate data types are being used within the filter expression. The split() macro functions are in place to handle additional white space that users may enter between the comma-delimited values.

How to add a custom message for all Cognos users on Cognos Connection Page

This article provides you information about how one can add a custom message for all Cognos users on Cognos Connection Page Solution 1 : Add the message on the title bar of Cognos Connection. Refer point 1 in image attached. Steps : a. Open <c8_install>webcontent/skins/<skin_used>/shared/banner.css b. find ".mainHeader1middle" c. Modify content as per requirement. Example : .mainHeader1Middle { width:100%; background-image: url(../shared/images/Message.gif); background-repeat: no-repeat; } Solution 2 : Add the message on the title bar of table. Refer point 2 in image attached. Steps : a. Open <c8_install>webcontent/skins/<skin_used>/portal/default.css b. find ".tableHeader" c. Modify content as per requirement. Example : .tableHeader { background-color: #ffffff; background-image: url(images/Message.gif); background-repeat: no-repeat; } Please refer to attached snapshot for the location where the message would be ...

Enable Job, SMTP, and Task Queue Metrics

By default, only the queue length metric for job, task, and SMTP queue metrics is enabled. The following metrics are also available for each but are set to zero and do not appear in the user interface unless you enable them: Time in queue high water mark Time in queue low water mark Time in queue Number of queue requests Queue length high water mark Queue length low water mark For more information about these metrics, see System Performance Metrics . Note that enabling these settings may affect performance. You must have the required permissions to access IBM Cognos Administration functionality. See Secured Functions and Features . Steps Start IBM ® Cognos ® Connection. In the upper-right corner, click Launch , IBM Cognos Administration . On the Status tab, click System . Click the arrow next to System to display the Actions menu, and then click Set Properties . Click the Settings tab. For the Environment category, next to Advanced settings , cl...

Configure the IBM InfoSphere Business Glossary URI

If your organization uses the IBM ® InfoSphere ™ Business Glossary, you can also access the Glossary in IBM Cognos ® software from IBM Cognos Viewer , and from the metadata tree in Report Studio, Query Studio, and Analysis Studio. To access IBM Business Glossary, you must specify the URI of the Glossary Web page. By default, the Glossary search results in IBM Cognos software return all terms that contain the keyword specified in the search. To access the Glossary, users must have permissions for the Glossary capability. For more information, see Secured Functions and Features , and Object Capabilities . Steps In IBM Cognos Connection, click Launch , IBM Cognos Administration . On the Status tab, click System . Click the arrow next to System to display the Actions menu, and then click Set Properties . Click the Settings tab. For the Environment category, IBM Business Glossary URI , type the following URI: http:// server_name : port_number /bg/popup/popupSear...

Filter on indexes - but be careful!

If you are familiar with databases, you will know that your first preference will be to filter on the clustered index, then on any non-clustered indexes. Any other filtering will force a table scan - a potentially costly operation. But did you know that there are rules for filtering on indexed fields? For example, assuming order date was indexed, this: (current_date,[Order date]) < 30 is less efficient than: [Order date] > (current_date - 30) even though they mean the same thing. The difference is that the first performs an index scan (it looks at every row, performs the calculation, then determines if the row should be included), while the second performs a seek (it positions directly on the first row where the order date is greater than or equal to 30 days ago). The second option has to read far fewer records so it is more efficient. A general rule of thumb is to know your indexed fields, and, if possible, do not perform calculations on those fields. Apply the...

Cognos Mobile Shortcuts

Image
While you are working with IBM® Cognos® Mobile on your device, you can use a number of shortcuts for navigation and to perform other actions.  

Prompts in Cognos Framework Manager

Format : Macro- #prompt(‘pmtName’,’datatype’)# Parameter Map- #$parametermap{prompt(‘pmtName’,’datatype’)}# Session Parameter- #$parametermap{$Sessionparameter}# Date Prompt- to_date(#prompt('Start/END Date', 'varchar')#,'yyyy-mm-dd')

Cognos 8 Macro functions list

We have seen that cognos macro functions available in framework manager are also available in report studio. Here is a simple list of existing Cognos Macro with description. This list contains functions that can be used within a macro. A macro may contain one or more macro functions. A macro is delimited by a number sign (#) at the beginning and at the end. Everything between the number signs is treated as a macro expression, which is executed at run time. + value1 + value2 Concatenates two strings. Example: # '{' + $runLocale + '}'# Result: {en-us} CAMIDList CAMIDList ( [ separator_string ] ) Returns the pieces of the user's identity (account name, group names, role names) as a list of values separated by commas. Example: #CAMIDList ( )# Result: CAMID("::Everyone"), CAMID(":Authors"), CAMID(":Query Users"), CAMID(":Consumers"), CAMID(":Metrics Authors") CAMIDListForType CAMIDListForType ( identit...

Configure the IBM WebSphere Business Glossary URI

To access IBM Business Glossary, you must specify the URI of the Glossary Web page. By default, the Glossary search results in IBM Cognos 8 return all terms that contain the keyword specified in the search. Steps 1. In IBM Cognos Connection, click Launch, IBM Cognos Administration. 2. On the Status tab, click System. 3. Click the arrow next to System to display the Actions menu, and then click Set Properties. 4. Click the Settings tab. 5. For the Environment category, IBM Business Glossary URI, type the following URI: http://server_name:port_number/bg/popup/popupSearch.do For example, type http://myserver:9080/bg/popup/popupSearch.do 6. All terms that contain the keyword specified in the search are returned. 7. Click OK.

Limit the Number of Entries That Users Can Cut, Copy, and Paste

You can limit the number of entries that users can cut, copy, and paste to improve the performance of IBM® Cognos® software. This allows you to control the storage space taken up by temporary entries and reduce the time required to execute cut, copy, and paste requests. For example, you can set the limit to 50 entries. If users cut, copy, or paste more than 50 entries, they receive a maximum entries message. To change the limit, you must have access to the computer where the report server is installed. Steps On each computer where IBM Cognos software is installed, open the c10_location/templates/ps/portal/system.xml file in an editor. Ensure that your editor supports saving files in UTF-8 format. Find and edit the maxEditEntries parameter as follows: <param name="maxEditEntries">     50 </param>Save the system.xml file. Stop and then restart the IBM Cognos service.

Additional popup window opens while openining Report Studio, Business Insight Advanced in Cognos 8 and Cognos 10

1. Go to <C8 install>\webcontent\pat folder                            2. In the pat folder, locate rsapp.htm and make a copy of this file as a backup.                                                                3. Open rsapp.htm in any editor preferably HTML editor and scroll to the bottom of this file.                                      ...

How to specify Report Output is Part of Deployment

Specify if Report Output is Part of Deployment You can specify if report output is part of deployments. There are two advanced settings that you can use: CM.DEPLOYMENTSKIPALLREPORTOUTPUT to include or skip all report output from My Folders and Public Folders. CM.DEPLOYMENTSKIPUSERREPORTOUTPUT to include or skip user report output from My Folders only. By default, these are set to True (include). To change the default to exclude, set them to False. You must have the required permissions to access IBM Cognos Administration [Secured Functions and Features] . Steps 1.Start IBM® Cognos® Connection. 2.In the upper-right corner, click Launch, IBM Cognos Administration. 3.On the Status tab, click System. 4.Click the arrow for the Actions menu next to Systems and click Set properties. 5.Click the Settings tab. 6.Click Edit next to Advanced Settings. 7.Select Override the settings acquired from the parent entry. 8. In the Parameter column, type CM.DEPLOYMENTSKIPALLREPO...

Include Configuration Objects in Import of Entire Content Store

You can include configuration objects when importing an entire content store. For example, you may want to import the configuration because you have a series of advanced settings for your services that you want from the source environment. By default, configuration objects are excluded when you import an entire content store, even though they are included in the export. Configuration objects include dispatchers and configuration folders used to group dispatchers. For more information, see Rules For Deploying the Entire Content Store. We recommend that you do not import configuration objects. Dispatchers should be configured in your target environment before you import data from a source environment. If you must import configuration objects, you should either stop the source dispatcher services before the import, or restart IBM Cognos 8 in the target environment after the import. Otherwise, you may get errors with the status of dispatchers. If you want to import configuration object...

RSV-SRV-0031 The user does not have the assigned capability to use 'HTMLItem' layout element.

Getting RSV-SRV-0031 The user does not have the assigned capability to use 'HTMLItem' layout element error message even though this user has capabilities for both Report Studio and HTML Item   Symptom RSV-SRV-0031 The user does not have the assigned capability to use 'HTMLItem' layout element.   Cause New to 8.4 is the ability to set capabilities on the package and folder level. This will overwrite what is being set at the server level.   Resolving the problem Ensure the User or User classes that the Role, Group or User belong to have both Report Studio and HTML Item capabilities at the package level. Steps:     Go to Cognos Administration     Click on the Security tab     Go to the Capabilities section     Click on the "Actions" button on the Report Studio and click on "Set properties"     Add the role/group/user to have at least traverse permission on Report Studio     Click O...

Required Database Permissions for IBM Cognos Content Store

What are the required database account permissions for Cognos content store? SQL Server - Grant create and drop table privileges for the database to the user account. - Ensure that the user account is a member of the db_ddladmin, db_datareader, and db_datawriter roles. - Ensure that the user is the owner of their default schema. Oracle - connect to the database. - create, alter, and drop tables, triggers, views, procedures, and sequences (all permissions must be granted directly to the user account rather than to a role). - insert, update, and delete data in the database tables Sybase - Grant create and drop table privileges on the database to the user account. - Ensure that the user account has the following privileges for the database: create default, create procedure, create rule, create table, and create view. DB2 - Grant create and drop table privileges on the database to the user account. - Ensure that the user account has CREATETAB, CONNECT and IMPLICITSCHEMA p...

IBM Publish a Proven Practice Document - Configuring IBM Cognos BI on IIS7

http://public.dhe.ibm.com/software/dw/dm/cognos/infrastructure/web_servers/ibm_cognos8_bi_and_ep_with_iis7.pdf

How to recover a Framework Manager model from the content store in Cognos 8

Problem How to recover a Framework Manager model from the content store in Cognos 8 (in case the Framework Manager project directory was corrupted or deleted ). Environment : Cognos 8 Solution It is possible to recover a model from the project store by creating a cqeconfig.xml file in the /bin directory, and accessing the deleted model within Cognos 8 Report Studio. The model will be saved within the /data/cqe/rtmodel directory. Access the model by creating an empty model in Framework Manager, and overwriting the model.xml file with the xml file extracted from the content store. Steps: 1. Create a cqeconfig.xml file and save under /configuration Place the following in the file. Due to this file the XML version of the model will be stored in the rtmodel directory as well: <?xml version="1.0" encoding="UTF-8" ?> <configuration company="Cognos" version="0.1" rendition="cer2"> <component name="CQE"...

How To: Trace BIBusTKServerMain Memory Usage in Windows

Problem(Abstract) The following steps can be used to trace the memory usage of the BIBusTKServerMain.exe process using the Windows Performance administrative tool. These steps will log the private bytes, virtual bytes, and virtual bytes (peak) at one minute intervals and log them to a CSV file. This file can then be opened in an application like Microsoft Excel and can be charted to look for trends in memory usage. Resolving the problem - Open the "Performance" Control Panel under Administrative Tools. - Expand "Performance Logs and Alerts". - Right-click on "Counter Logs" and select "New Log Settings". - Name the log "BIBus Memory Tracing". - Click on "Add Counters". - Under the "Performance Object" in "Add Counters" select "Process" - Ensure that "BIBusTKServerMain" is selected under "Select instances from list". - In the "Select counters from list" ...