Cannot access external routine routine name

You attempted to either execute a routine (using XSUBR or ^XADDR) that cannot be found, or to execute a routine (with or without XSUBR or ^XADDR) that calls a routine that cannot be found. This error may occur if you remove a routine from an ELB that is still referenced in the main routine or linked ELBs. The best way to avoid this problem is to always relink main routines when you change ELBs, or for OPENELB, XSBUBR, or ^XADDR, use the ‑r and ‑l dblink options to ensure symbols are resolved when you link your ELBs.