Windows Fix for 12.1:Parallel Execution Of Datapatch during Patching or Manual upgrade fails with er
We are having an issue with the qopiprep.bat file executing at the same time for mutliple database in a Windows 2016 / Oracle 12c environment.
The suggested fix (20599273Patch 19215058">https://support.oracle.com/epmos/faces/ui/patch/PatchDetail.jspx?parent=DOCUMENT&sourceId=2054286.1&patchId=19215058) doesn't work for a Windows environment, because the qopiprep.bat file provided in the fix is for bash.
How can the qopiprep.bat file be modified for a Windows / Oracle environment?
We already tried the following workaround (adding _%ORACLE_SID% for the XML file name) in the qopiprep.bat file:
....
FOR /F %%i IN ('%ORACLE_HOME%\bin\orabasehome.exe') do set logloc=%%i\rdbms\log