cognos-8

Cognos 8 Query to find all Report and Column Names

被刻印的时光 ゝ 提交于 2019-12-22 10:56:46
问题 I want to query the meta data in Cognos 8 to find all report and column names. If possible, I'd like to include the column definitions. Can I do this using a Cognos report or do I need to query some repository? Thanks. 回答1: You can select a list of reports from the content store with the following query: SELECT CMOBJNAMES_BASE.NAME AS ObjName, CMOBJECTS.PCMID, CMCLASSES.NAME AS ClassName, CMOBJPROPS7.spec FROM CMOBJECTS JOIN CMOBJNAMES_BASE ON CMOBJECTS.CMID = CMOBJNAMES_BASE.CMID JOIN

How can I split a footer/header into multiple cells in Cognos?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 08:34:01
问题 When adding a footer or header (group footer or overall/list page footers) it's created as a single Data Item cell. It's impossible to add any Insertable Objects into the footer/header and I'm not seeing any way to split the cell/add more cells from the right click menu or the Properties of the cell. How can I split a footer or header into multiple Cells in Cognos? 回答1: To split a footer or header you need to select the footer/header and then go into the Structure menu, under the Headers &

In cognos, could we avoid an optional prompt asking a value when its parameter is used in a data item in a query?

前提是你 提交于 2019-12-05 07:21:17
问题 Actually, I'm working in Cognos 10.1 report studio. In my report, I have two prompts, one is optional and another prompt is required. I've used both the prompt parameters inside the data item for some condition. So, the optional prompt has also turned to required. What should we do to avoid this? 回答1: We can use #prompt()# for this. Usually, #prompt()# is used to deliberately force the parameter to hold some value. Instead of using the parameter directly, we should use the #prompt()#. For

In cognos, could we avoid an optional prompt asking a value when its parameter is used in a data item in a query?

醉酒当歌 提交于 2019-12-03 21:48:47
Actually, I'm working in Cognos 10.1 report studio. In my report, I have two prompts, one is optional and another prompt is required. I've used both the prompt parameters inside the data item for some condition. So, the optional prompt has also turned to required. What should we do to avoid this? We can use #prompt()# for this. Usually, #prompt()# is used to deliberately force the parameter to hold some value. Instead of using the parameter directly, we should use the #prompt()#. For example, Suppose, ?Parameter1? is used in a data item and it holds a integer value, replace it with a #prompt()