Reader small image

You're reading from  IBM Cognos 10 Framework Manager

Product typeBook
Published inMay 2013
PublisherPackt
ISBN-139781849685764
Edition1st Edition
Right arrow
Author (1)
Terence Phillip Curran
Terence Phillip Curran
author image
Terence Phillip Curran

Terry Curran gained an interest in computers while studying for his first degree in Biological Chemistry at the University of Kent. He went on to work as a computer operator for a national supermarket company. After working for several years as a computer operator, he went to Brighton Polytechnic, leaving with a Higher National Diploma in Computer Studies. Upon completion of his studies, he worked as a computer advisor at the City of London Polytechnic, assisting staff and students with their computer problems, and providing support for the various database systems in use across the Polytechnic. After taking voluntary redundancy from this post, he proceeded to the University of Stirling where he gained an MSc in Software Engineering. After graduating from the University of Stirling, Terry commenced working for a software consultancy company. While working for this company, Terry assisted with the writing of a software package for the publishing industry using Cognos PowerHouse. While working for this company, Terry gained experience in Business Intelligence Reporting tools, being asked to familiarize himself with Cognos Impromptu and PowerPlay in order to promote the use of these tools to clients. After this company ceased trading, Terry embarked on a career as a freelance computer consultant and contractor, using his experience with Cognos PowerHouse, various computer systems and databases, and Cognos Impromptu and PowerPlay, and later Cognos 8 and Cognos 10. Terry continues to work as a freelance Cognos Business Intelligence consultant and contractor, making use of his extensive knowledge and experience of IBM Cognos Business Intelligence Reporting. During the past 15 years, Terry has worked for a range of different industries including aviation, pharmaceuticals, insurance, logistics, and manufacturing to name a few. Terry is currently working for Ultra Electronics Command and Control Systems as a freelance Cognos consultant. Terry Curran was a technical reviewer for the book IBM Cognos 8 Report Studio Cookbook, Packt Publishing.
Read more about Terence Phillip Curran

Right arrow

Chapter 10. Parameter Maps

This chapter introduces session parameters and parameter maps, both of which can be used to customize reports. Session parameters are values pulled from the user session. Parameter maps can be thought of as simple data look-up tables. Each parameter map has two columns, a key column and a value column holding the value that the key represents. A parameter map can be used to create a conditional query that allows for substitutions when a report is run. The following topics will be covered in this chapter:

  • Creating and using session parameters

  • Creating and using parameter maps

By the end of this chapter, you will understand how session parameters and parameter maps can be created and used within Framework Manager.

Session parameters


Every Framework Manager model has a set of built-in parameters that contain values related to the current session. These session parameters can be used by modelers in filters, calculations, and on reports.

The default session parameters include the following:

  • account.defaultName: This returns the name of the current user as defined in the authentication provider, and examples of the values returned are the user's first and last name.

  • account.personalInfo.userName: This returns the user ID used to log on to IBM Cognos BI if the user is logged in as Anonymous then this is not set.

  • runLocale: This returns a code for the current active language in Framework Manager, and examples of the values returned by this parameter are en-gb, en-us, zh-cn, and zh-tw, which indicate English(United Kingdom), English(United States), Chinese(Simplified), and Chinese(Traditional) respectively.

  • current_timestamp: This returns the current date and time.

  • machine: This returns the name of the computer...

Parameter maps


When we looked at session parameters, we have seen that although they are useful they are very limited and each time we want to use a session parameter to return a particular value, we have to edit the session parameter to either add a default value or an override value. If we want to create a session parameter that can return different values for different keys, then we create a parameter map.

Parameter maps can be thought of as simple data look-up tables. Each parameter map has two columns, a key column and a value column holding the value that the key represents. You can enter the keys and values manually, import them from an external file, or base them on query items in the model.

It is possible to export parameter maps to a file and to import parameter maps from a file. This is particularly useful if you have a large or complex parameter map. You can export the parameter map values to a file, make changes, and then import the modified parameter map back into Framework Manager...

Summary


In this chapter, we learned about session parameters and parameter maps as a way of changing the behaviour of the queries in your Framework Manager model. By using session parameters we made the creation of multi-lingual reports easier for our report authors. This is just one aspect of using session parameters and parameter maps. There are many other ways these can be applied, including on things such as setting the security within the model.

We also looked at the user interface for Framework Manager, and the best practice for using the software. We developed a model by using the best practices from importing our data source to refining our model, to produce a final package for our report authors. We looked at some additional features for further improving our model and some new features for making model development easier.

lock icon
The rest of the chapter is locked
You have been reading a chapter from
IBM Cognos 10 Framework Manager
Published in: May 2013Publisher: PacktISBN-13: 9781849685764
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Author (1)

author image
Terence Phillip Curran

Terry Curran gained an interest in computers while studying for his first degree in Biological Chemistry at the University of Kent. He went on to work as a computer operator for a national supermarket company. After working for several years as a computer operator, he went to Brighton Polytechnic, leaving with a Higher National Diploma in Computer Studies. Upon completion of his studies, he worked as a computer advisor at the City of London Polytechnic, assisting staff and students with their computer problems, and providing support for the various database systems in use across the Polytechnic. After taking voluntary redundancy from this post, he proceeded to the University of Stirling where he gained an MSc in Software Engineering. After graduating from the University of Stirling, Terry commenced working for a software consultancy company. While working for this company, Terry assisted with the writing of a software package for the publishing industry using Cognos PowerHouse. While working for this company, Terry gained experience in Business Intelligence Reporting tools, being asked to familiarize himself with Cognos Impromptu and PowerPlay in order to promote the use of these tools to clients. After this company ceased trading, Terry embarked on a career as a freelance computer consultant and contractor, using his experience with Cognos PowerHouse, various computer systems and databases, and Cognos Impromptu and PowerPlay, and later Cognos 8 and Cognos 10. Terry continues to work as a freelance Cognos Business Intelligence consultant and contractor, making use of his extensive knowledge and experience of IBM Cognos Business Intelligence Reporting. During the past 15 years, Terry has worked for a range of different industries including aviation, pharmaceuticals, insurance, logistics, and manufacturing to name a few. Terry is currently working for Ultra Electronics Command and Control Systems as a freelance Cognos consultant. Terry Curran was a technical reviewer for the book IBM Cognos 8 Report Studio Cookbook, Packt Publishing.
Read more about Terence Phillip Curran