SQL1042C with SQLSTATE=58004The same DB2 error is also found in DTstatus.out. When an attempt is made to start DB2 with db2start, the same error is returned.
The problem is caused by an incorrect setup of the instance for dtdb23in during installation, or migration. As a result, the instance fails to start.
To resolve the problem, reset the instance with FencedID (the name of the user under which fenced user defined functions (UDFs) and fenced stored procedures will run.) To do this: