DOCCLOSE Batch Threads Locks Each Other and Batch Fails With ORA-00054 Error

(Doc ID 1983704.1)

Last updated on FEBRUARY 22, 2018

Applies to:

Oracle Retail Merchandising System - Version 13.2.5 and later
Information in this document applies to any platform.

Symptoms

When attempting to run the DOCCLOSE batch, the following error occurs:

docclose_*4*~20141005190958~close_tsf~ITEM_LOC_SOH~105~RET-0105: generic stored procedure error~INTERNAL STORED FUNCTION ERROR: function=APPT_DOC_CLOSE_SQL.CLOSE_TSF, error=Table item_loc_soh with key values of 25024, 01411614 is locked by another user."


Steps to Reproduce:

  1. Create transfers with the same combinations of "from_loc, item".
  2. Pass conditions of DOCCLOSE batch to let it process transfers.
  3. Start batch in 5 threads.  Note the error.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms