go to post Rod Fulton · Feb 25, 2023 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.
go to post Rod Fulton · Feb 24, 2023 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.
go to post Rod Fulton · Jul 13, 2022 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. Global Structure | Using Caché Globals
go to post Rod Fulton · Sep 22, 2021 Good morning Elsayed. Forgive me if I'm not understanding everything, but is it possible that the %NOLOCK keyword just telsl the IRIS locking mechanism to ignore all locking requests from this query. That might be an easier thing to implement than not putting them in the INT code. Just a thought. Let me know if I'm right or wrong. And good luck with it.