壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 318|回复: 0

关于更新CUBE不杀BIBus的一些命令

[复制链接]
发表于 2012/3/11 22:04:42 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
昨天看到“不杀BIBus的Cube覆盖方法.pdf”下载下来看,就在测试服务器上测试
关于PCCON.BAT命令的一些用法希望对大家有用如下:
英文:
How to use the Cognos 8 PCConn.bat utility
  

Technote (troubleshooting)
  
Problem(Abstract)
This document describes the available commands for the Cognos 8 PCconn.bat utility.  
  
  



Resolving the problem
Open a command line window and go to the installation_location/c8/webapps/PCConn directory.
At the command line, type PCConn to launch the Cognos 8 PowerCube Connection Utility.

At the command prompt, type ?

Available commands:

connect [server:port]
Creates a connection to the dispatcher on the given server.
default: localhost:9300
If a logon is required, you will be prompted for credentials

connectURL URL
Creates a connection to the dispatcher on the given URL.

logon [namespace [username [password]]]

*Note: The namespace required in the command is not the namespace Id, rather it is the namespace label as seen on the left pane in Cognos Connection for 8.4

Allows logon to secondary namespaces.
If a logon is required, and credentials are not supplied, you will be prompted for credentials. This is not required if anonymous access is set to true or you were prompted for credentials when using the connect command.
Note that the logon command is not required in a script or an error will be generated. See example below.

disconnect server:port - disconnects from dispatcher on the given server.
disconnectall - disconnects all connections and logs off.
logoff - disconnects from all connections and logs off.
connections - lists active connections.
disable datasource[,datasource[,...]] - disables the given datasource.
enable datasource[,datasource[,...]] - reenables the given datasource.
state [datasource[,datasource[,...]]] - shows state of the given datasource.
get datasource[,datasource[,...]] - shows connection string of the given datasource (powercube type only).
set datasource - set connection string properties of the given datasource (powercube type only).
This will prompt for the WINDOWS_PATH and the UNIX_PATH values.
test [datasource[,datasource[,...]]] - tests connectivity to the given datasource.
Tests all available connections and signons.
stop service[,service[,...]] - stops the named service(s).
start service[,service[,...]] - starts the named service(s).
restart service[,service[,...]] - stops and starts the named service(s).
status [service[,service[,...]]] - shows status of the named service(s).
help - print this message.
exit - exit.
Sample script:

connect <servername>:9300
<namespace> <user_ID> <password>
set <data_source_name>
C:\cube_name1.mdc
exit"

E.g. of Actual Sample with a Series7 namespace

connect vsydwin2003:9300
-ns Series7 -uid Administrator -pwd "admin1234"
disable pcconn_test
set pcconn_test
D:\Data\Powercube\test\great_outdoor_sales_en.mdc
enable pcconn_test

exit  
  


Related information
KB 1038999: pcconn fails when anonymous access is disabled: Exception in thread main java.lang See Chapter 8 in the Transformer Cognos? 8 8.3 User Guide

  


  

Historical Number
1038203  


中文:
如何使用Cognos的8 PCConn.bat效用  

Technote (troubleshooting) 技术说明(疑难解答)  

Problem(Abstract) 问题(摘要)  
This document describes the available commands for the Cognos 8 PCconn.bat utility.本文档描述了Cognos公司8 PCconn.bat实用程序可用的命令。  





Resolving the problem 解决问题  
Open a command line window and go to the installation_location/c8/webapps/PCConn directory.打开一个命令行窗口并转到installation_location/c8/webapps/PCConn目录。
At the command line, type PCConn to launch the Cognos 8 PowerCube Connection Utility.在命令行键入PCConn推出Cognos公司8如PowerCube连接实用程序。

At the command prompt, type ?在命令提示符下,键入?

Available commands:可用命令:

connect [server:port]连接[服务器:端口]
Creates a connection to the dispatcher on the given server.创建一个连接到给定服务器上的调度员。
default: localhost:9300默认是:localhost:9300
If a logon is required, you will be prompted for credentials如果登录是必需的,你会被提示输入凭据

connectURL URL connectURL网址
Creates a connection to the dispatcher on the given URL.创建一个连接到在给定的URL调度。

logon [namespace [username [password]]]登录[命名空间[用户名[密码]]]

*Note: The namespace required in the command is not the namespace Id, rather it is the namespace label as seen on the left pane in Cognos Connection for 8.4 *注:在命令所需的命名空间的命名空间不是身份证,而是它是命名空间的标签Cognos公司于连接在左窗格中看到的8.4

Allows logon to secondary namespaces.允许登录到中学命名空间。
If a logon is required, and credentials are not supplied, you will be prompted for credentials.如果登录是必需的,并没有提供凭据,你会被提示输入凭据。 This is not required if anonymous access is set to true or you were prompted for credentials when using the connect command.如果这是不需要匿名访问设置为true或凭据时,你因使用connect命令提示。
Note that the logon command is not required in a script or an error will be generated.请注意,登录命令不需要在脚本或将生成一个错误。 See example below.见下面的例子。

disconnect server:port - disconnects from dispatcher on the given server.断开服务器:端口 - 断开调度员在给定的服务器。
disconnectall - disconnects all connections and logs off. disconnectall - 断开所有连接和注销。
logoff - disconnects from all connections and logs off.注销 - 断开所有连接和注销。
connections - lists active connections.连接 - 列出活动连接。
disable datasource[,datasource[,...]] - disables the given datasource.禁用数据源[,数据源[,...]] - 禁用给定数据源。
enable datasource[,datasource[,...]] - reenables the given datasource.使数据源[,数据源[,...]] - 重新启用给定的数据源。
state [datasource[,datasource[,...]]] - shows state of the given datasource.国家[数据源[,数据源[,...]]] - 显示给定数据源的状态。
get datasource[,datasource[,...]] - shows connection string of the given datasource (powercube type only).获取数据源[,数据源[,...]] - 显示给定数据源(如PowerCube型连接字符串只)。
set datasource - set connection string properties of the given datasource (powercube type only).设置数据源 - 设置连接给定数据源(如PowerCube字符串类型的物业,但只)。
This will prompt for the WINDOWS_PATH and the UNIX_PATH values.这将提示WINDOWS_PATH和UNIX_PATH值。
test [datasource[,datasource[,...]]] - tests connectivity to the given datasource.测试[数据源[,数据源[,...]]] - 测试连接到给定的数据源。
Tests all available connections and signons.测试所有可用的连接和signons。
stop service[,service[,...]] - stops the named service(s).一站式服务[服务[,...]] - 停止命名服务(S)。
start service[,service[,...]] - starts the named service(s).启动服务[服务[,...]] - 启动命名服务(S)。
restart service[,service[,...]] - stops and starts the named service(s).重新启动服务[服务[,...]] - 停止和启动命名服务(S)。
status [service[,service[,...]]] - shows status of the named service(s).地位[服务[,服务[,...]]] - 显示已命名服务(地位)。
help - print this message. help - 打印此消息。
exit - exit.退出 - 退出。
Sample script:示例脚本:

connect <servername>:9300连接<服务器名>:9300
<namespace> <user_ID> <password> <namespace> <user_ID> <密码
set <data_source_name>设置<data_source_name>
C:\cube_name1.mdc &ccedil;:\ cube_name1.mdc
exit"退出“

Eg of Actual Sample with a Series7 namespace对实际样品例如与一Series7命名空间

connect vsydwin2003:9300连接vsydwin2003:9300
-ns Series7 -uid Administrator -pwd "admin1234" - ns的Series7 -的uid管理员密码“admin1234”
disable pcconn_test禁用pcconn_test
set pcconn_test设置pcconn_test
D:\Data\Powercube\test\great_outdoor_sales_en.mdc D辑:\数据\如PowerCube \测试\ great_outdoor_sales_en.mdc
enable pcconn_test使pcconn_test

该贴已经同步到 xiaoerp的微博
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/30 02:11 , Processed in 0.013145 second(s), 16 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表