Currently there is no way to import a routine (MAC, INT, INC) from file to a given IRIS Server. At least I haven't found a handy one.
Management portal allows to import classes but not routines from disc to IRIS.
It'd be great to add a UI package or CLI util to make it possible.
Thank you for posting the idea. According to information from experts, this functionality already exists.
This is already available in SMP. You can import any valid export file be it UDL or XML. Classes, Routines and Global exports are supported.
VS Code? $SYSTEM.OBJ.Load/Import/ImportDir?