2

Does cognos 8 have an api which can be queried to find out:

  1. the last time a scheduled report has run
  2. was it successful?
  3. if not, what caused it to fail?

it would be preferable for the api to be web based. I have read about a JMX interface but documentation was lacking.

4

2 回答 2

0

通常,要以 API 方式完成此操作,您需要使用 Cognos SDK。SDK 允许您查询与报告运行相关的计划和历史记录,并查看请求是完成还是失败。如果失败,您将看到与失败相关的历史,就像您在查看失败的运行时在 Cognos 管理部分中看到的一样。

这是开始查看示例的好地方: http ://www-01.ibm.com/support/docview.wss?uid=swg21343791

于 2013-12-11T15:40:57.843 回答
0

Cognos 8 有一个选项可以启用对审计数据库的日志记录。然后可以查询数据库以获取详细信息,例如报告何时运行、使用了哪些参数以及是否存在任何错误。

链接到 IBM 站点以设置日志记录数据库。

链接到 IBM 站点以设置与数据库的连接。

基本上,您使用适当的设置创建一个兼容的数据库,然后告诉 Cognos 如何连接到它,然后在下次 Cognos 服务启动时,它将自动创建必要的记录表并开始自动填充它们。

于 2013-04-16T03:21:58.690 回答