
cognos 安装很简单 用wizard next next, 配置比较麻烦,装完了要配gateway,如果需要还要配置dispatcher,配data store, 这些都做完了,用浏览器访问gateway 可以登陆cognos connection
第二个问题,如何连数据库,在aministration里面配data source, 取决你要用哪种数据库吧,info center里面都可以找到
这个有两种方式实现:
1在FM建包的时候建两个参数#prompt('统计起始时间','date')#;#prompt('统计结束时间','date')#。在Resport Studio提示页面中建两个参数,名字跟FM中的参数名要保持一致,统计起始时间,统计结束时间。
2在Resport Studio提示页面中建两个参数,在结果页面中的数据查询上添加一个条件过滤器。
两者的区别在于,前者是先传参数,数据库查询时只查日期范围内的数据。后者是先把所有数据查出来,在页面端在进行控制。
在cognos
configuration
里面起
,
目测你用的是默认的cognos
content
store
在cognos
configuration里面看cognos
content
store的端口是多少,是否被别的程序占用。
默认端口是1527推荐用db2做为content
store
windows下调试不方便
具体见下文,这里解释一下,当选择Oracle connection时SQLNet connect string:中填写数据库名,另外userID和password必须填Normal的而非sysdba
If you are trying to reach oracle database server on a different machine, then you must install oracle client for 10g on cognos server and configure the listener and tnsnamesora and test the connection through sqlnet
XE=1(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbs2 zpintdom)(P
ORT21))(CONNECT_data=(SERVER=DEDICATED)(SERVICE_ NAME=XE)))
Once you reach the database server successfully, your parameters to build an Oracle connection string will be;
SQLNet connect string: XE
Collation sequence: Signon_____________________
User ID [Checkbox enabled]
Password [Checkbox enabled]
Create a signon that the Everyone group can use: {Default enabled}
User ID: Password: Confirm Password:
以上就是关于如何验证Cognos是否安装成功,如何使用Cognos连接数据库全部的内容,包括:如何验证Cognos是否安装成功,如何使用Cognos连接数据库、cognos报表怎样设置一个字段有的显示与不显示、IBM Cognos Content Database启动服务出错!等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)