The default database of the executing user, not the creating user, is used to resolve unqualified references to database objects in a macro data definition statement (DDL). Therefore, object references in a macro data definition statement should be fully qualified in the macro body (see CREATE MACRO and REPLACE MACRO).