This action might not be possible to undo. Are you sure you want to continue?
Automating Cube Build in IBM Cognos Transformer 10 | The Ironside Group
Search this website…
You are here: Home / Proven Practices / Modeling / Automating Cube Build in IBM Cognos Transformer 10
Automating Cube Build in IBM Cognos Transformer 10
June 5, 2012 by Susan Ma
Call 1-855-4IRONSIDE Or Send Us an Email
Our monthly newsletter is loaded with industry news, best practices, and innovative tips & tricks for IBM Cognos, and all of it from the desks of our veteran consultants. No recycled whitepapers or industry articles here. Enter Your Email Address... GO
IBM Cognos PowerPlay cubes are one of the most widely used OLAP data sources in the IBM Cognos environment. Typically, a PowerCube contains calculated and aggregated data that is organized as dimensions and measures, which can be viewed and analyzed in PowerPlay or Cognos BI (versions 8 or 10). Easy to use and fast access to pre-calculated summary data provides users with the ability to perform quick analysis. Since data stored in an IBM Cognos PowerCube is static, building a PowerCube naturally becomes a repetitive process. Often times cube data is refreshed on a daily, weekly, or monthly basis. Depending on data volume and the number of dimensions and measures in the cube, the build process can sometimes take hours to complete. In order to ensure the most benefit from the cube, having a scheduled and automated cube build is essential. As many of you know, automated cube building can be easily achieved using Transformer command line options along with a scripting language of your choice. However, prior to the IBM Cognos 8.4 release, deploying the newly refreshed cube file wasn’t an easy process. It relied on an external utility to update your IBM Cognos data source connections to use the newly built cube. Today, I will show you a much easier approach that leverages new features in Transformer 10 to enable automated cube building and deployment with just a few easy steps. Case Studies (3) Events (46) Training (17) Newsletter (155) Press Releases (15) Proven Practices (85) Development (10) Infrastructure (20) Modeling (18) Performance (3) Report Studio Cookbook (8) Reporting (38) The general syntax for using command line options with optional arguments is as follows: cogtr–option[argument] filename.py?|filename.mdl A few things to consider: • On Windows, you can use -n with some options to run Cognos Transformer in batch mode. • The option in the command line always starts with a dash (-). • Command line options are case-insensitive. Arguments are case-sensitive. • You must enclose the argument in double quotation marks if there are spaces inside any argument, for example: cogtr -n –m”c:\cube model\ Field3.mdl” • For .py? files, the question mark (?) is replaced by the character that is used in the version of Cognos Transformer, i.e. .pyj or pyi file. • You can use more than one option in a command line. If an option that is used in a command line is incompatible with an option that appears earlier in the command line, the earlier option is ignored. Security (4)
Automated Cube Building and Deployment
Introducing Transformer from the Command Line
The Cognos Transformer command line is capable of performing certain modeling and cube-building tasks on the Windows, UNIX or Linux platforms. You must follow the syntax of the command line to run the desired tasks, such as creating a cube. You may use either an MDL or PJY model file, however best practice dictates the use of the MDL file format whenever possible.
Find Us on Facebook
• Deployment location: add a path for production and/or a place that . @IronsideGroup Introduction to Data Mining & SPSS Modeler .mdc file should be deployed too.com/2012/06/05/automating-cube-build-in-ibm-cognos-transformer-10/ 2/3 .4 and as such.1 The Business Intelligence Maturity Model Report Studio Cookbook: Using the Page Structure View to Build/Edit Advanced Reports Success by design: Planning Your Information Management Infrastructure Ironside Group Public Training Practice Expands to Philadelphia and Washington D. then exit Transformer.C.2. For instance. Save the model. • After building the cube: select “Automatically copy and active”. tinyurl.de/1dUbfkA Expand Ironside Group. 10 as shown here).Lexington IBM Cognos 10.exe -n2 -c -g”ProductSales” -s –m C:\Transformer\Models\ProductSales. for example: cogtr -n -s -mmodel. • Check “Enable automatic PowerCubes deletion” and set the maximum number of cubes to be archived ( i. Inc. You can select multiple locations. 5. the same cube may be deployed to both the Development and Production servers.mdc file to target server location.1. 2013 at 8:30 AM. Open the cube properties. Tweet to @IronsideGroup Recent Posts What’s New in Cognos 10. irns. activated and/or archived depending on the requirements. October 29.py? For more information about command line options. Tweets Follow @IronsideGroup 1h Ironside Group.e. This will copy the cube .1 on the Windows platform. Open command prompt.1 FP1 and Cognos Insight 10. Create the data source and publish the package for your cube. 6.2 Active Report.py? file at the end of the command line after all the other parameters..ironsidegroup. Type in the following command: cogtr. 2. It should be noted that CubeSwap has been deprecated since Cognos 8.. 1.com/p43lb8g #cognos Show Summary Ironside Group.2 Report Studio Fundamentals and Advanced Training Course IBM Cognos 10. please review the Transformer User Guide . @IronsideGroup 27 Sep Step by Step Demo Instructions The following demo is designed for use with IBM Cognos 10. Navigate to the Transformer installation/bin folder. then activate” option. In this demo.mdl” file.1 Rapidly Adaptive Visualization Engine (RAVE). 1h Join us for a Webinar on 10/8 where we will be discussing Cognos 10.mdl cogtr -n -s -pmodel. Login to IBM Cognos Transformer (assuming you have created a valid model and successfully tested it at least on time to create a PowerCube in Transformer). the cube is named “Product Sales” and model file is saved as “ProductSales. 7.2 Report Studio Fundamentals and Advanced TrainingPhiladelphia www.2. Anyone with PowerPlay cubes who intends to upgrade to Cognos 10 from a prior version should take this into careful consideration.2.Miami: When: Tuesday. click on the Deployment tab and configure the following settings: • Deployment Strategy: select the “Copy to available locations. Inc.2 Framework Manager Fundamentals and Advanced Training Courses IBM Cognos Workspace & Cognos Workspace Advanced. 3.4 that allows the cube file to be automatically copied over to a specified local or network location.mdl or .1+. Archives Select Month Upcoming Training Events IBM Cognos 10. no longer works or is supported in Cognos 10. @IronsideGroup Transformer Deployment and Activation Strategy Deployment and Activation is a new feature introduced in version 8.30/09/13 Automating Cube Build in IBM Cognos Transformer 10 | The Ironside Group • When entering command line options. you must specify the name of the .mdl” (Instructor Led) IBM Cognos 10. Inc.Online 4. Many developers have hesitated to switch to this new approach from the older CubeSwap method.
•Change management without modifying Transformer models within your lifecycle. MA | 855-447-6674 | Log in www. •Trigger report execution when cube builds complete. Proven Practices Play. IBM Cognos Power Comments calvin clack says: August 29. It doesn’t require any changes to the data source connection. 2012 at 2:12 PM susan. Related Posts: The Business Intelligence Maturity Model What’s New in IBM Cognos 10. Lexington. hi to ralph baker. thanks for the tip. Return to top of page © 2013 The Ironside Group | 131 Hartwell Ave. such as Windows Scheduled Tasks.ironsidegroup. That’s it! With just a few more steps (depending on your environment). Notice that after the cube build completes. If you have any questions about automating cube build in your environment. •Trigger builds from ETL processes on other servers. Suite 215. PowerCube Tagged With: IBM Cognos.2.1 Managing Risk with IBM’s GRC Business Analytics Solutions The Ironside Group Appoints Francois Ross as Southeast Regional VP How Michigan State University is Leveraging IBM Analytics and Ironside Group to Improve University advancement 0 Tw eet 2 Share 1 Filed Under: Modeling. You will not need to manually rebuild or deploy the cube any more as everything will be done automatically on schedule. We offer packaged solutions for Transformer Automation coupled with our proven Transformer deployment methodology that includes an intelligent scripting suite with the following features and capabilities: •Support for multi-server IBM Cognos environments. •Source code is provided for easy customization to meet your organization’s specific requirements and infrastructure.30/09/13 Automating Cube Build in IBM Cognos Transformer 10 | The Ironside Group Note: Replace the cube name with the actual cube name and location of your . Transformer has automatically deployed and activated the newly generated cube.com/2012/06/05/automating-cube-build-in-ibm-cognos-transformer-10/ 3/3 . IBM Cognos Transformer. Newsletter. •Custom e-mail notification for both users and administrators. The live cube swap is effective immediately. you can now schedule the cube build via a job scheduler application. OLAP. •Detailed logging to file and database for reporting on cube builds from within Cognos.mdl file. please contact the Ironside Group for more information.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue listening from where you left off, or restart the preview.