企业绩效管理网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1221|回复: 5

TI Process Log Cube

[复制链接]

89

主题

395

帖子

598

积分

高级会员

Rank: 4

积分
598
QQ
发表于 2014-6-29 22:51:16 | 显示全部楼层 |阅读模式
Looking to record when a TI process starts and ends in a Process Log Cube. Ive created a variable for each

vStarted = TIMST(NOW,'D_M_Y_h_i_s'); I have put into the Prolog tab and then done a CellPutS to a Log cube

vEnded= TIMST(NOW,'D_M_Y_h_i_s'); I have put in the Epilog tab and again done a CellPutS to a log cube

All seems to work fine apart from fact that both Start and End times are exactly the same, and although I am not loading a lot of data in the TI i would expect it to take more than a second to execute successfully ? Have I got the variables in the right place ?

Also Id like to have some sort of status flag for the process along the lines of 'Completed', 'Error' or something similar, has anybody done something similar ?

Thanks as always for any help.
回复

使用道具 举报

81

主题

410

帖子

598

积分

高级会员

Rank: 4

积分
598
QQ
发表于 2014-6-30 00:26:11 | 显示全部楼层
Have you looked in the actual server log file to see the timestamps for process executed and process completed to see how long they take to complete?
回复 支持 反对

使用道具 举报

73

主题

406

帖子

585

积分

高级会员

Rank: 4

积分
585
发表于 2014-6-30 00:27:22 | 显示全部楼层


prob you can do something like the above tutorial.

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

78

主题

397

帖子

582

积分

高级会员

Rank: 4

积分
582
QQ
发表于 2014-6-30 00:34:53 | 显示全部楼层
A document that will give you a few ideas.



Cheers

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

86

主题

397

帖子

596

积分

高级会员

Rank: 4

积分
596
QQ
发表于 2014-6-30 01:34:01 | 显示全部楼层
The 2 links you've been given above are pretty good and I think about all you need to build your own process logging solution.  Depending on the number of records you are processing I wouldn't be too surprised if start time and finish time were the exact same second considering that TI should processes multiple thousand records per second.
回复 支持 反对

使用道具 举报

83

主题

421

帖子

617

积分

高级会员

Rank: 4

积分
617
QQ
发表于 2014-6-30 02:49:57 | 显示全部楼层
Some great responses as always.

The two links provided were excellent and provided some useful techniques.

And you were all write as well, the process I was testing did indeed take only a second to run.

Thanks.

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2019-1-17 19:08 , Processed in 0.128293 second(s), 11 queries , Memcache On.

Powered by Discuz! X3.1 Licensed

© 2001-2013 Comsenz Inc.

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