企业绩效管理网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1105|回复: 8

Turbo Integrator Error handling

[复制链接]

73

主题

386

帖子

554

积分

高级会员

Rank: 4

积分
554
QQ
发表于 2014-5-21 18:41:34 | 显示全部楼层 |阅读模式
While running TI process through action button in TM1 Perspective how can i display error descriptions regarding corresponding TI process in excel perspective only. Or if its not possible then can i get that same error description in notepad or excel or word that will prompt automatically with complete error details so that user don't have to go to TM1ProcessError.log file each time to check error. Or if you any enhanced error reporting that would help application user of Excel Perspective to easily visualise their error occuring while running respective TI Process. Any kind of your guidance is highly appreciated.
回复

使用道具 举报

70

主题

390

帖子

554

积分

高级会员

Rank: 4

积分
554
QQ
发表于 2014-5-21 19:41:39 | 显示全部楼层
You do something with Ascii Output. That would give you a file to work with. The rest is Excel. Saying that you already have the error log file to work with, all you have to do is resolve the file name,

Jim.
回复 支持 反对

使用道具 举报

74

主题

421

帖子

580

积分

高级会员

Rank: 4

积分
580
QQ
发表于 2014-5-21 20:39:45 | 显示全部楼层
That or you could create an error log cube and load the details in there and display them on the next sheet.
回复 支持 反对

使用道具 举报

82

主题

414

帖子

607

积分

高级会员

Rank: 4

积分
607
QQ
发表于 2014-5-21 20:54:35 | 显示全部楼层
jim wood wrote:That or you could create an error log cube and load the details in there and display them on the next sheet.
This is my preferred approach when errors needed to be retained for future reference, like when there are exceptions that need to be "worked".
回复 支持 反对

使用道具 举报

81

主题

410

帖子

598

积分

高级会员

Rank: 4

积分
598
QQ
发表于 2014-5-21 21:30:12 | 显示全部楼层
If you are writing to a cube does the outcome not depend on whether the TM1 error is minor or serious? If it is serious I was under the impression that all data written to cubes by the process would be rolled back. Unfortunately I am not in a position to check this myself.
回复 支持 反对

使用道具 举报

73

主题

409

帖子

584

积分

高级会员

Rank: 4

积分
584
QQ
发表于 2014-5-21 21:35:52 | 显示全部楼层
jim wood wrote:You do something with Ascii Output. That would give you a file to work with. The rest is Excel. Saying that you already have the error log file to work with, all you have to do is resolve the file name,

Jim.

HI Jim, thanks for your valuable reply. If possible can you explain me how to achieve this error reporting using ASCII Output.
回复 支持 反对

使用道具 举报

89

主题

395

帖子

598

积分

高级会员

Rank: 4

积分
598
QQ
发表于 2014-5-21 22:27:13 | 显示全部楼层
You would combine CellIsUpdatable with AsciiOutput. You can look both of these up in the Reference guide. Also you could include dimix / ElLev checks for each dimension to find where the error is. You'd combine CellIsUpdatable with checks I just mentioned when writing to a cube as well. When writing to a cube you can combine the control dimension }processes with a string reference dimension. So say for example the reference dimension contained 1,2,3, etc you can increment it every time your errors reaches the number of elements within the dimension. You can also expand the cube to include the likes of time executed and a few other things depending on what you want to display.

As Duncan mentioned this only covers minor errors. You can cover major errors by executing the main process from a wrapper process. ExecuteProcess returns an error code that you can in turn use to either export to flat file or write back to your cube.

I hope this helps,

Jim.
回复 支持 反对

使用道具 举报

66

主题

363

帖子

518

积分

高级会员

Rank: 4

积分
518
QQ
发表于 2014-5-21 22:48:50 | 显示全部楼层
jim wood wrote:You would combine CellIsUpdatable with AsciiOutput. You can look both of these up in the Reference guide. Also you could include dimix / ElLev checks for each dimension to find where the error is. You'd combine CellIsUpdatable with checks I just mentioned when writing to a cube as well. When writing to a cube you can combine the control dimension }processes with a string reference dimension. So say for example the reference dimension contained 1,2,3, etc you can increment it every time your errors reaches the number of elements within the dimension. You can also expand the cube to include the likes of time executed and a few other things depending on what you want to display.

As Duncan mentioned this only covers minor errors. You can cover major errors by executing the main process from a wrapper process. ExecuteProcess returns an error code that you can in turn use to either export to flat file or write back to your cube.

I hope this helps,

Jim.
Thanks Jim
really this helps a lot...  
Can you guide me steps how to direct ExecuteProcess returned error into flat file(notepad) ?

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

87

主题

397

帖子

595

积分

高级会员

Rank: 4

积分
595
QQ
发表于 2014-5-21 22:50:06 | 显示全部楼层
Did you read through help on ExecuteProcess in either reference guide or the documentation that you can find with in Architect? It tells you what error code ExecuteProcess returns.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|企业绩效管理网 ( 京ICP备14007298号   

GMT+8, 2023-5-31 05:07 , Processed in 0.092126 second(s), 38 queries .

Powered by Discuz! X3.1 Licensed

© 2001-2013 Comsenz Inc.

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