COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: nsaxena on 13 Mar 2017 05:29:44 PM

Title: un-used reports (missing one table CMOBJNAMES_BASE)
Post by: nsaxena on 13 Mar 2017 05:29:44 PM
Hi All, i am trying to build a report showing all un-used reports(reports which did not ran). I came across belpow query which will give me list of all reports exist on content store. Having this i will use audit(run reports query subject) to find difference.

But query i am using to hit content store is throwing error as i am not able to find CMOBJNAMES_BASE table in my content store database. other two tables ( CMOBJECTS ,CMCLASSES) are available. Can you please suggest what is causing this plus any other way to achieve same result. My content store database is DB2

SELECT n.cmid,
       o.pcmid,
       n.name     AS REPORT_NAME,
       o.version,
       o.disabled,
       c.name     AS TYPE,
  FROM CMOBJNAMES_BASE n, CMOBJECTS o, CMCLASSES c
WHERE n.cmid = o.cmid
   AND o.classid IN (0, 1, 10, 18, 19, 33, 81, 82)
   AND o.classid = c.classid
   AND n.isdefault = 1
   AND c.name = 'reportView';
Title: Re: un-used reports (missing one table CMOBJNAMES_BASE)
Post by: nsaxena on 05 Jun 2017 08:44:32 AM
anyone who can help me in achieving the same..
Title: Re: un-used reports (missing one table CMOBJNAMES_BASE)
Post by: khanberg on 13 Jun 2017 04:03:05 AM
Which version of Cognos are You running?

And the version of Your logging store ?
SELECT *  FROM COGIPF_SYSPROPS
Title: Re: un-used reports (missing one table CMOBJNAMES_BASE)
Post by: nsaxena on 19 Jun 2017 01:36:47 PM
Version :
v.10.2.1 FP8