1

I drag my .cls file to Intersystems studio, the old version code covered my latest version code, is there any way to get back my covered cls file ?

Evgeny Shvarov
  • 468
  • 5
  • 17
DylanLeeee
  • 31
  • 1

1 Answers1

1

InterSystems Caché/IRIS stores most of the code right in the Database, and Database by default is journaled. So, you can revert your code by those journals. But unfortunately, it is not so easy to explain how to do it.

DAiMor
  • 3,185
  • 16
  • 24
  • Do you have any document about how to revert class files by journals? Thank you anyway~ – DylanLeeee Mar 30 '19 at 04:50
  • No, it is just only for experienced users, who can manage it. There is some API for Journals, which may help. https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?APP=1&LIBRARY=%25SYS&CLASSNAME=%25SYS.Journal.File – DAiMor Apr 26 '19 at 12:16