|
发表于 2014-6-27 23:11:24
|
显示全部楼层
phamtinkt88 wrote:IBM told me to use TM1ServerLogSetFlagString API function but didn't show me how to use it. Alan Kirk wrote:In short, I have a sneaking suspicion that you've been given garbage advice. I have to agree with Alan; unfortunately, on some occasions, the vendor doesn't give the correct advice.
Ive looked at this API function and AFAIK its purpose is to set the last field in an entry to the transaction log:
Code: "","20120220064514","20120220064514","Robin","S","20120214230251","20120220064514","}DimensionProperties","}Processes","LAST_TIME_UPDATED",""
I.e. the field after "LAST_TIME_UPDATED" is the flag string field that can be set via the API. Up until recent versions, this field doesn't get used much, if at all, by TM1. Before 'Undo' came along, the main use I could see for this field was the ability to flag certain transaction logs in order to undo them - maybe in conjunction with API-driven spreading.
phamtinkt88 wrote:I want to change timestamp from GMT(default) to LOCAL when viewing transaction log. lotsaram wrote:You can change the timestamp of the message log in the tm1s-log.properties I don't know if that changes the timezone of entries in the transaction log - these logs are critical to replication so my guess is that they wouldn't allow changing the time zone... but you could try - let us know.
I suppose you could somehow use the API function to set the flag string as a local time flag but this is probably more work than using other alternatives. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|