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.
Good morning Peter.
I know what the problem is but I googled it anyway, and as usual, Intersystems explains it better than I do.
A global name may be up to 31 characters long (exclusive of the caret character prefix). You can specify global names that are significantly longer, but Caché treats only the first 31 characters as significant.
Good afternoon Pietro,
Try %RO. It's "Routine Out". Enter at the command line "D ^%RO" and just follow the prompts. This is a systems routine that's been a staple of Intersystems since forever and was there in 2021. Good luck.PLEASE IGNORE THE PREVIOUS PART OF MY POST - I misunderstood what you wanted to do. I thought you wanted one single file for all the routines, not individual files for each routine. %RO will let you do individual files for each routine but you'll have to specify each individual routine and the file it should be written to. It will work for MAC and INT files but I'm not sure about anything else. It seems to me that some of the other solutions proposed by others will do what you want. However, it all you want are MAC routines and INT routines you could write a small quick and dirty routine to do that.