invalid call to a local routine - in the wrong context Explanation: The routine is declared as LOCAL and may only be called by routines in the same owning module. User Action: Call the routine from within the module, or use USAGE IS GLOBAL for the routine so it can be called outside the module.