Sie sind auf Seite 1von 37

1 DW 2 FWM 3 QS 4 RS 5CC 6 Basic SQL

1. What is Project? Ans. Project contains .cpf file(project file), model.xml, session-log.xml, session-logbackuop.xml. Click on Create a new project,then below screen will appear. In this give project name and click ok.

Figure A

2. In how many ways you can create data source connection? Ans. Two ways: i). In Framework manager while creating project. ii). In Cognos Administrator Cognos --- Configuration --- Data source Connection --- Create new connection.

i). In Framework manager while creating project. After clicking on Ok of figure A another window will appear there you have to select language. After that you have to Select Metadata Source. In this Window click on Data Sources then click Next.

After that in the below Screen either you select Existing data source or you can select New. Here I have selected existing data source.

Now click on Next. In the below Screen Select the objects whatever you want to import, I have selected tables. Then click on Next

In below screen click on Import

Click on Finish in below Screen

Now your Project with data source is created. 3. How to move project from one location to another? Ans. Manage Project File---Manage Project---Move Through Manage project option you can copy, rename, and delete the project. *But before performing these operations u need to close the project. 4. What is Native metadata? Ans. Native Metadata refers to the cubes that are created in OLAP. Ex. Cognos Power Play Cube. Explicit modeling of the cube is enabled in the framework manger; automatically package is created so we can directly publish it. You have to specify the complete location of the cube and it has extension .mdc. 5. What is Query subject and types of query subject? Ans. Query Subject is set of query item which have inherent relationship.
Types of Query Subject: I. Data source Query Subject: Data source Query Subject is directly reference to the data source. Data source Query Subject created using single data source. II. Model Query Subject: Model Query Subjects are not generated directly from data source. They are created using existing Query Subject. You can create more abstract and business oriented view.

Right Click on the Name Space --- click Create---Click Query Subject

Type Name and Select Model Query Subject, then click ok.

Drag the required query subjects from availabe model objects pane to query item and calculation pane, then click ok.

III. Stored Procedure Query Subject: Stored Procedure Query Subject is generated when

you import Stored Procedures from data source. Framework manager supports only user defined Stored Procedure it does not support system define Stored Procedure. 6. How many types of Usage Properties are there in FMW for query item? Ans. Usage properties identifies the intend use of the Query item.
I. Identifier II. Attribute III. Fact

Select the query item and in properties change the usage property to Identifier or Attribute or Fact

7. What is the use of namespace? Namespace uniquely identifies the dimensions, query subjects and query items. 8. Difference between Namespace and Folder. If you change the name of the published namespace it will impact the Cognos server. Because changing the name changes the IDs of the published object. Ex. In naming convention query subject is identified by namespace. Folder is purely organizational purpose it does not impact the object IDs. You can create the folder to organize the objects by subject and functional areas. You import different databases into separate namespaces to avoid duplicate names. For example, you may have the Products tables with the same columns in different databases. Putting query subjects into different folders cannot guarantee the uniqueness of query items referred in Report Studio. 9. Difference between Data source Query Subject and Model Query Subject
I.

Data source Query Subject is directly reference to data source. Model Query Subject is generated using existing query subject and model query subject. II. Data source Query Subject is created from single data source. Model Query Subject created using any no. of data sources.

III. For creating Model Query Subject it is necessary to have Data source Query Subject. For

creating Data source query subject no need of any query subject. 10. Securities at Framework manger level
I.

Data level Security: You can restrict the data present in the query subject by creating security filter. Select the object or data, Go to Action menu, select Specify object Security or Specify Data Security.

II. Object level Security: When you apply object level Security you have to specify the

users, groups and roles. For those users and groups object is visible. III. Package level Security: During publishing the package you have to define the security. 11. Why we create shortcut? Ans. To resolve the loop. Loop means closed path. System is not able to chose the path at that time we create the shortcut to resolve the loop. Shortcut is created to give self join also. 12. What is Cardinality? Ans. Relationship exist between two query subjects. Form one query subject point there are how many transaction present in the another query subject. 1..1, 1..n, 0..n, 0..1. 13. What is package? Ans. Package is subset of project. Package is what actually is published in content store to create reports.

Steps for Creating and Publishing package:

1. Right Click on the Package---Create---Package. 2. Type the Name for the package, Click Next. 3. Define the object you want to include in the package, click Next.

4. Select Function Set, click Finish. Now Package is created, it will ask you want to publish, Click yes if you want to publish or else no. 5. If you want versions of package then you have to specify no. of versions. By default version is 0

6. Then Click Next. After this if you want to Add Security you can add, After that click

Next. 7. Click Publish. 14. How can we reuse package? By creating Nested Package. In the third step of creating package you have to Choose Using Existing package

15. Difference between copy and shortcut? In copy what are all changes we made in original object that are not reflected in copy. In shortcut whatever changes we made in original object that are reflected in shortcut. In copy we can do editing. But in shortcut we cant do any editing. 16. How to connect multiple databases in Framework manager? Or How to import metadata into project?
I. Create new namespace. II. Right click on the namespace. III. Click on the Run Metadata Wizard.

After that select the metadata source, Select the Data Source, and Select the objects you want to import. Then click on import. (Same Steps as Question no. 2) 17. What is the use of Governors? Use governors to reduce system resource requirement and improve performance. You set governors before you create packages to ensure the metadata in the package contains the specified limits. All packages that are subsequently published will use the new settings We can improve performance by denying full outer joins, allow local cache.
1. Select the object. 2. Go to Project menu. 3. Click Edit Governors.

18. Difference between Standalone calculation/filter and embedded calculation/filter.


I.

Standalone calculation is created under namespace while embedded calculation created using query subject. II. Standalone calculations are reusable while embedded calculations are not reusable. Steps For Standalone calculation/filter:
1. Right click on the namespace, click on create select Calculation. 2. Give the Name for the calculation and write the expression by dragging the query item

from available component pane to Expression definition pane. And test the sample. Then click ok.

Steps for Embedded calculation/filter:


1. Double click on the Query Subject in which you want calculation or filter. 2. Click on the Calculation tab or filter tab, Then Click Add. 3. Give the name for Calculation or filter and write the expression by dragging the query

item from available component pane to Expression definition pane. Here one thing you can observe that the Standalone Calculation which you created is also visible in Available component pane, so you can reuse this calculation. And test the sample. Then click ok.

19. How you create an .IQD in framework manager?


I. II. III. IV. V. VI.

Select Query subject Go to Query Subject properties Change externalized method property(from default) to .IQD Create package for the query subject whose property changed to IQD. At the time of publishing package select externalized query subject. Publish

20. How can we provide version in package?

At the time of publishing package Select Enable Model Version and enter how many versions you want. By default versions is zero

21. How can we eliminate loop in FWM? By creating shortcuts. 22. How can we create Regular Dimension or measure dimension?
I. Select query subject II. Go to Action menu III. Click convert to Regular dimension\ measure dimension.

23 What is query set and how we create query set? Ans. Query Set is needed to create Confirmed Dimension. Or we can say to compare the contents of two queries whether they contain same data. Select Query Subject, Go to - Action menu - Define query set - Select operator(union, intersect, except).

Note: If you want Union all, intersect all, except all then uncheck the check box Remove Duplicate rows.

24. Naming Convention


I. II. III. IV.

NS NS.QS NS.QS.QI Dimension. NS.QS.QI

25. Is it possible to test two query subject at time in FWM? Yes it is possible. Select two query subjects; right click on that, click on test. 26. What is Model Report?

It will display the complete description of selected object. And we can save it for future reference.
1. Select object 2. Go to Tools menu, Click Model report.

Click on the Save.

Model Report.html

27. What is Regular Dimension and how can we convert a query subject into regular dimension? Regular Dimension contains Descriptive and business key information. The information is organized in hierarchy (levels), from highest level of granularity to the lowest level. It usually has level and each level requires key and caption. Convert Query Subject into Regular Dimension:
1. Select Query Subject 2. Go to Action menu and click Convert to regular dimension.

3. Now click on Dimension map there you can see query subject is converted into regular

dimension.

28 What is Measure Dimension and how can we convert a query subject into Measure dimension? Measure dimension is a collection of fact. You can create measure dimension for one or more query subject that have valid relationship between them. Convert Query Subject into Measure dimension:
1. Select Query Subject 2. Go to Action menu and click Convert to Measure dimension.

3. Now click on Dimension map there you can see query subject is converted into Measure

dimension.

29. Why we define Scope? The Scope relationship exist between Regular dimension and Measure Dimension to define at which level measures are available for reporting. 30. What is Auto Save? It saves the project automatically and it may help to prevent the loss of data if an unexpected interruption occurs. If you choose save the project automatically then you have to specify the time interval between save operation. Steps: 1. Go to project menu. 2. Click on options.

3. Now click on Auto Save tab and choose on and specify the time interval.

31. How can we Format query item? We can specify how query item value appears in reports. Each format type contains properties.

Steps:
1. Select Query item. 2. Go to Action menu click Format.

3. Select Format type and properties for that format type.

32. How can we change the order of the objects? We can change the order of the object by Reorder option. By default root namespace objects listed in the project viewer in the order in which they are added. You can change the order of objects based on their name. Objects may be reordered in ascending or descending order. Steps: 1. Select the namespace you want to reorder. 2. Go to Tools menu, click Reorder.

3. Click Reorder by ascending or descending and click ok.

33. What is difference b/w model & package? Model is a representation of the metadata structures. A model contains organized metadata objects (organizing depends on business needs). After the completion of a model it has to submitted to ReportNet server. A Package compresses (or includes) the developed metadata definitions and publishes (forwards) it to ReportNet server. Then the reportnet server moves it into a content store(repository) and now this

repository acts as a source for report developers for generating various types of reports(list reports, cross tab reports etc.) A model is a logical view of the enterprise where in a package is a subset of the model. This helps in reducing redundant copies of the database objects in several places. For example you can create one single model for the entire warehouse and choose to create multiple packages for each subject area which specific focus. A model is a set of metadata objects organized for report authors according to the business models and rules. It is a business presentation of the structure of data from one or more data sources. Package is a collection of name spaces and dimensional maps. A package gets published [exported] from FW manager into Cognos Content Store in Cognos Server. Package is subset of query subject and other metadata objects defined in the project. 34. What is the difference between Database and data source? Database means any type of database like Oracle, Db2, Tara data and etc. Data source means from where we are retrieving data it means data source may be database or Cognos. 35. How can we generate the cubes in framework manager? You can create the IQD file from framework manager. This IQD file will be used by Transformer to create the cube. 36. What is purpose of using hierarchy in framework manager? To drill and drill up. Hierarchy: A description of the order of levels in a dimension. In Framework Manager, you define hierarchies in the query subject. Level: A group of query items that must contain a key query item, so that each member within the group is unique. Levels may contain other non-key query items. Levels are parts of dimensions. For example, a geographical dimension might contain levels for region, country, State. Region : Americas Country : US State: NJ The last level of this hierarchy should be unique, because NJ cannot be inside another country than US... basically is to define the level of drill down that you can achieve in your reports and to define the scope of your dimension inside a model. 37. Where can we create new calculations in FWM? There are two types of Calculations Standalone and Embedded. Standalone Calculations is created under namespace, as it is reusable. Whereas Embedded calculation is created in the query subject.

Embedded calculation: RC on QS >Select Calculation Tab> Write Condition Stand-alone calculation RC on NS > Create >Calculation > Write Condition 38. Determinants Determinants are more or less equals to indexes. While creating data source QS if there are any indexes in DB then those also fetched, but while creating model QS if u want to create indexes For Data source QS we can import Determinants For model QS we can create Determinants Stored procedure Qs no Determinants Double click on QS---Click on Determinant tabClick on Add---Click on Uniquely identified and Group By

39. How will you make relationship in Framework manager? Normal Relationship: This is created between the query subjects. All the possible cardinalities can be defined (1:1,1:n,0:n,0:1) Scope Relationship: This is created between the regular dimension and a measure dimension. Here you will define the scope of a particular measure. That is up to which level you can access

the measure. 40. What is the meaning of Import layer, Cube layer and Business Layer? Database Layer it contains Replica of Database Business Layer: Contains Business View in this layer we can modify joins, Create New Query Subject, Query item, Calculated columns, Filters. Cube Layer: It contains multidimensional cubes. 41. Have u found any diff b/w c8 frame work manager and crn1.1 frame work manager? Table Objects Analysis Studio, Event Studio Deployment Folder Reordering Objects 42. How can we import Excel data into FWM? Create System ODBC for Excel Create New Data source >Select Data source Select ODBC Enter ODBC data source: Enter ODBC connect string: Enter User id and Password if Data source is secured Else select No authentication Test connection

Click on Add

Select Microsoft Excel Driver(*.xls) and click finish

Give data source name and select workbook.

Select the database name and click ok

Click on New

Click on Next

Give the Name and click Next.

Select type as ODBC and Click Next.

Give ODBC data source and ODBC Connect String, Select No authentications and Test the Connection.

Now select your data source and click next.

Select objects you want to import and click next.

Click on import

Click on Finish

43. Where can we restrict the number of records in FWM? Project Menu> Edit Governor>Maximum number of retrieved rows:

44. What is the use of determinants in FWM? Determinants are designed to provide control over granularity in a similar, but not identical, way as dimension information in Cognos ReportNet. A determinant can define the set of database columns (query items) that uniquely identify a set of data, or it can identify a set of columns that identify a non-unique set within the data. Determinants are most closely related to the concept of keys and indexes in the data source and are imported based on key and index information in the data source. We recommend that you always review the determinants that are imported. 45. What are Parameter Maps and Macros?

Parameter Maps are objects that store Key - Value pair. Parameter maps are similar to data source look-up tables. Each parameter map has two columns, one for the key and one for the value that the key represents. You can manually enter the keys and values, import them from a file, or base them on existing query items in the model. It is used for language conversion and currency conversion. Here we are defining the value according to that value, output is displayed Macros are fragments of code that you can insert anywhere in the Select statement that defines a query subject. 46. How many types of relationships are available in FWM? > One-to-one > One-to-many or zero-to-many > Many-to-many 47. What is the use of Quality of service in C8 FWM? Framework Manager allows you to query any combination of data source types, but not all data sources support functions the same way. The quality of service indicator provides modelers and report authors with a visual clue about the behavior of individual functions when used in conjunction with the data sources in the model. > Project Menu > Project functional list > Select Functional list based on data source type > Select Functional list > Define Quality of service 48. How can we improve performance in FWM? >Query processing type locally. > create calculated columns in Model level. > create filters in Model level. > avoiding outer joins, cross product joins. 49. Where can we apply aggregations FWM? > Select QS/QI. > Tools Menu select determine aggregations rules. 50. How can we import catalogs into FWM? > select metadata import wizard > select Cognos impromptu > select catalog (Xml) file location

> select import

51. What is the extension of project file? And by default where can it save? > Extension of project file .CPF > New folder is created for every project in that folder this .CPF will store 52. What is the meaning of Synchronization? You can use Framework Manager log files to synchronize your project. You may choose to synchronize your project if you updated metadata in a third-party modeling tool made changes to metadata using a multidimensional modeling tool When you synchronize your project, you create a new project by replaying from the log files, all the actions you made in the original project. > From the Project menu, click Synchronize

53. Can you publish a FM model on to desktop? If yes, how? At the time of publishing package you select location in network instead of Cognos content store. 54. What is the diff between Business key and member caption? 55. Have u created any query subjects by using stored procedures? > RC on namespace > Create QS > select Stored procedure QS > Select Data source > Select Procedure > Select finish and test

. Note:
1. If Stored Procedure generating two results set, then it will take the 1st result as input and

ignore the second result.


2. It will always support user defined stored procedure never support System defined Stored

procedure. 56. What is the meaning of DMR in FWM? Dimensional Modeling. 57. Ragged dimensions 58. Have u used any prompts in FWM? Yes, when creating filter give the parameter in between two question marks. If you created

embedded filter every time whenever use that filter it will ask to enter the value in case of standalone you have to just drag and drop that filter. If you are using same prompt in n no. of reports then it is better to create standalone filter. 59. How to build a cube in Cognos 8 using Framework Manger? Changing the Externalize property of query subject to IQD and after that publishing that on server location in a folder. After that, that folder is used in power play transformer for creating cube. And that cube is published in FWM by using Native metadata, and from FWM it is published into Cognos Content Store. 60.What is Alias and Use of Alias Table A secondary name for a database table. Aliases are used to create a distinct reference to the table in the model, so that self-joins can be created or ambiguous query paths can be resolved

Das könnte Ihnen auch gefallen