Users may encounter a hang or excessive wait times during Datacom utility jobs (like LOAD or EXTRACT), accompanied by the following message in the MUF log:
DB02841W - WAIT DELAY 'OTHER LOCKV MVR' MIN:SEC-[TIME] [JOBNAME] [ID] LOCKV[AREA] [DBID]
Querying SYSADM.MUF_LOCKS_VALUE shows active locks for the DBID and Area, such as:
This issue occurs under two primary conditions:
If a lock was left behind by a previous failed job, run the UNLOCK function to reset the status for the affected DBID and Area:
UNLOCK OPTION=MOVER,DBID=[DBID],AREA=[AREA]
Do not use the LOCK command when performing a LOAD. Instead, follow this sequence to ensure the database is properly offline and accessible only to the utility:
DBUTLTY ACCESS DBID=[DBID],STATUS=OFF,USERS=FAIL
DBUTLTY CLOSE DBID=[DBID]
DBUTLTY ACCESS DBID=[DBID],STATUS=WRITE
To check for current active locks within the MUF, run the following SQL query:
SELECT * FROM SYSADM.MUF_LOCKS_VALUE;