Previous Topic   Next Topic   Contents   Index

Cognos Impromptu, Impromptu Web Reports, and Cognos PowerPrompts

This section includes updates to documentation for the following components in the Cognos Impromptu group:


Cognos Impromptu


Locked Catalogs

Note: This corrected topic will appear in Mastering Impromptu Reports in a future release.

A locked catalog restricts access to the Creator user class. When a member of the catalog Creator user class attempts to open a locked catalog, they must provide password authentication to unlock the catalog before opening it. A catalog lock is specified by the administrator and exists in addition to the common logon authentication required by Cognos products and the catalog logon authentication. If a user, who is not a member of the Creator user class, attempts to open a locked catalog, they are prompted for the usual catalog logon credentials only.

By default, the Creator user class has unrestricted access to a catalog and can restrict access to other user classes. Typically, this is how you want catalog access to be managed. However, there may be certain occasions when you want to restrict access even to members of the Creator user class. You can lock a catalog to further restrict its access to the catalog Creator user class. This added security will prevent all members of the Creator User Class in the Access Manager namespace from accessing this catalog. This security is important where you have multiple catalogs, each with different users who are Creators, and all users are members of the Creator User Class in the same Access Manager namespace.


CSV File Format

Note: The table in this topic will include the following corrections in the next version of Impromptu User Reference.

Each Cognos product exports data to delimited text format in the same manner, as shown below:

For the export of date and time data, dates are exported in one of the following formats:

Note: In PowerPlay, the date is defined in the Transformer model and is exported as text.


Impromptu.ini

Note: This topic will include the following subtopic in the next version of Impromptu User Reference.

Database Specific .ini Files for Functions

The following .ini files provide Impromptu with information about its supported databases.

.ini file 

Description 

Cogdmct.ini 

Sybase Adaptive Server Enterprise via CT-lib 

Cogdmd2.ini 

DB2 

Cogdmif.ini 

Informix 

Cogdmms.ini 

MS SQL Server via OLE-DB. 

Cogdmod.ini 

ODBC Generic. 

Cogdmod_ib.ini 

ODBC for Interbase 

Cogdmod_ig.ini 

ODBC for Ingres 

Cogdmod_iq.ini  

ODBC for Sybase Adaptive Server IQ 

Cogdmod_redbrick.ini 

ODBC for Redbrick 

Cogdmod_teradata.ini 

ODBC for Teradata 

Cogdmor.ini 

Oracle 

Iffunct.ini 

Initialization file for Informix related functions. 

Impfunct.ini 

Initialization file for Impromptu related functions. 

Odfunct.ini 

Initialization file for ODBC related functions. 

Orfunct.ini 

Initialization file for Oracle version 7 related functions. 




Impromptu Macro Examples

Note: These topics will include the following corrections in the next version of the Impromptu Macro Help.

The examples in the ActiveDocument Property topic and the ExportExcelWithFormat Method topic should show Set objImpApp = GetObject("CognosImpromptu.Application"), not Set objImpApp = CreateObject("CognosImpromptu.Application").

ActiveDocument Property Example

This example returns the name of the active report in a message box. To run this macro you must first open a report.

Sub Main()
Dim objImpApp As Object
Dim objImpRep As Object
Set objImpApp = GetObject("CognosImpromptu.Application")
Set objImpRep = objImpApp.ActiveDocument
MsgBox objImpRep.Name
Set objImpRep = Nothing
Set objImpApp = Nothing
End Sub
ExportExcelWithFormat Method Example

This example exports the active report as a Microsoft Excel file. The new file will have the same name as the active report with an Microsoft Excel file extension (.xls). To run this macro, you must first open a report.

Sub Main()
Dim objImpApp As Object
Dim objImpRep As Object
Dim strExcelFileName As String
Set objImpApp = GetObject("CognosImpromptu.Application")
Set objImpRep = objImpApp.ActiveDocument
strExcelFileName = Left$(objImpRep.FullName, Len _
(objImpRep.FullName) - 4)
objImpRep.ExportExcelWithFormat strExcelFileName & ".xls"
Set objImpRep = Nothing
Set objImpApp = Nothing
End Sub

Export Method

Note: This topic will include the following corrections in the next version of the Impromptu Macro Help.

x_excel.flt = Excel is incorrectly listed as an acceptable value for the ExportFilter parameter. To create an Microsoft Excel files from Impromptu reports, use the PublishExcel object.


Integrating Impromptu with Other Cognos Products

Note: This topic will include the following deletion in the next version of the Impromptu Administration Guide.


Expression Editor


Expression Editor Example of "Spread" Function

Note: This correction will appear in the Expression Editor documentation installed with each component. Please note that the Expression Editor documentation is included with several other Series 7 components, including PowerPlay Transformer.

The spacing in the example included for the spread function will be corrected to read as follows:

spread ('ABC')
Returns the result: A B C

Impromptu Web Reports


Save a Report

Note: This topic will include the following corrections in the next version of the Cognos Web Portal User Guide.

Steps
  1. Follow the steps to view or run a report.
  2. Click one of the following from the lower right corner of the toolbar, depending on how you want to save the report.
  3. Click OK.

Enable and Disable Governors

Note: This topic will include the following correction in the next version of the Impromptu Web Reports Administrator Guide.

Currently, this topic incorrectly states that users with execute privileges can enable and disable the governor setting. Only users with write or owner privileges can enable or disable the governor setting.


Previous Topic   Next Topic   Contents   Index