Tracking %RCOPY and %RI
Let's supposed somebody updates routines via %RCOPY or %RI, the really old-style hardcore way which still works. Does that leave any log traces in Journaling or system globals, as of when exactly did it happen or what was the IP address of the machine changes came from? I am aware only of the Date Modified changes as seen when opening the file.
Product version: Caché 2017.1
Hello,
If the database that you copy/import routines is journaled, and changes to routines source (^ROUTINE) and compiled code (^rOBJ) will also exist in the journal files. There is also a ^rBACKUP but it is not relay holding old versions of routines (for this you will have to use wither studio-hooks or GIT)
I searched Journals for ^ROUTINE nodes and the filter displayed nothing. Both RI and RCOPY functions bypass any kind of source control, so GIT or OnAfterSave hooks cannot help.
It's been a three years but there used to be a $H timestamp in the ^ROUTINE global for each routine. This was for the (last) time it was compiled and/or saved. Don't believe that %RCOPY ever tracked the IP address, but I don't know that for sure. However, %RI didn't.
That would be this Date Modified, AFAIK