How can i make copy of a global automatically in my local system?

瘦欲@ 提交于 2019-12-12 20:37:13

问题


Consider, i have a global ^TEST and i want to replicate/have a copy of the same in ^TEST2 automatically.Each action set or kill on ^TEST should reflect on ^TEST2 automatically.


回答1:


The only way to make sure that this can happen 100% reliably is to create a Journal Filter which watches for changes to ^TEST and then manipulates ^TEST2 appropriately.

See http://docs.intersystems.com/cache20141/csp/docbook/DocBook.UI.Page.cls?KEY=GCDI_journal#GCDI_journal_util_ZJRNFILT for details on how to implement this.



来源:https://stackoverflow.com/questions/23517619/how-can-i-make-copy-of-a-global-automatically-in-my-local-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!