SAP Knowledge Base Article - Preview

2508753 - DBCLONE phase failed with Runtime Errors DATASET_NOT_OPEN and Except. CX_SY_FILE_OPEN_MODE

Symptom

  • During an upgrade using the Software Update Manager (SUM) an error occurs
  • The error occurs during the phase MAIN_SHDCRE/SUBMOD_SHDDBCLONE/DBCLONE
  • Below is the error is found in the SAPupConsole.log in the Directory: /usr/sap/<SID>/SUM/abap/log
  • SapUpConsole.LOG

    A trouble ticket and an archive with all relevant log files have been
    generated.
    Trouble ticket: "/usr/sap/<SID>/SUM/abap/log/SAPup_troubleticket.log"
    Log archive: "/usr/sap/SMM/<SID>/abap/log/SAPup_troubleticket_logs.sar"
    01) * Repeat phase MAIN_SHDCRE/SUBMOD_SHDDBCLONE/DBCLONE to continue at the point it stopped
    02) - Exit program
    : Repeat phase MAIN_SHDCRE/SUBMOD_SHDDBCLONE/DBCLONE to continue at the point it stopped
    Initialize phase MAIN_SHDCRE/SUBMOD_SHDDBCLONE/DBCLONE to restart it from the beginning
    01) INIT
    Enter a number/range/"all" to change selection or "ok" or <ENTER> to complete:
    *** Wasting left over log file 'DBCLONE01.SMM' in directory '/usr/sap/<SiD>/SUM/abap/tmp'!
    *** Wasting left over log file 'DBCLONE02.SMM' in directory '/usr/sap/<SID>/SUM/abap/tmp'!
    *** Wasting left over log file 'DBCLONE03.SMM' in directory '/usr/sap/<SID>/SUM/abap/tmp'!
    ...
  • Below is the error found in the log DBCLONE.LOG found in Directory: /usr/sap/<SID>/SUM/abap/log

DBCLONE.LOG

2 ETQ373 parameter "OUTPUT_FILENAME" = "JOB_09433100.DMP"
2 ETQ374 parameter "TIMESPAN" = "10"
1 ETQ234 Call of function module "SUBST_LIST_SYS_LOGS" by RFC succeeded
4 ETQ010 Date & Time: 20170724094333
4 ETQ268 Check file "JOB_09433100.DMP" for the job log, SYSLOG, and short dump or use transactions SM37, SM21, and ST22
2EETQ262 Batchjob "DBCLONE8" aborted
1 ETQ359 RFC Login to: System="<SID>", AsHost="smm*****" Nr="00", Client="000", GwHost="smm****", GwService="sapgw00"
2 ETQ232 RFC Login succeeded
4 ETQ010 Date & Time: 20170724094333
1 ETQ233 Calling function module "SUBST_CHECK_BATCHJOB" by RFC
2 ETQ373 parameter "JOBNAME" = "DBCLONE9"
2 ETQ373 parameter "JOBCOUNT" = "09433100"
2 ETQ373 parameter "IV_VERIFY" = " "
1 ETQ234 Call of function module "SUBST_CHECK_BATCHJOB" by RFC succeeded
4 ETQ010 Date & Time: 20170724094333
2 ETQ373 parameter "JOBSTATUS" = "F"
2 ETQ374 parameter "RC_CHECK" = "0"
2 ETQ373 parameter "JOBENDDATE" = "20170724"
2 ETQ373 parameter "JOBENDTIME" = "094331"
2 ETQ374 parameter "JOB_PROGRESS" = "-1"
2 ETQ373 parameter "JOB_TEXT" = ""
4 ETQ263 Batchjob "DBCLONE9" finished successfully
1EETQ399 Last error code set is: Batch jobs (DBCLONE1) may still be running, check SM37 and SM21 for details
1EETQ204 Upgrade phase "DBCLONE" aborted with severe errors ("20170724094333")
  • You will see the following  dump is in ST22
Category                                          ABAP Programming Error
Runtime Errors DATASET_NOT_OPEN
Except. CX_SY_FILE_OPEN_MODE
ABAP Program CL_UPG_DIRECT_LOGGER==========CP
Application Component BC-UPG-TLS-TLA
Date and Time 24.07.2017 09:43:31
Short text
File "/usr/sap/<SID>/SUM/abap/tmp/DBCLONE08.SMM" is not open
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_UPG_DIRECT_LOGGER==========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed
What can you do?
Note down which actions and inputs caused the error.

To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.


Read more...

Environment

Delta upgrade using SUM Tool

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

DATASET_NOT_OPEN  CX_SY_FILE_OPEN_MODE DBCLONE01 DBCLONE02 CL_UPG_DIRECT_LOGGER  MAIN_SHDCRE/SUBMOD_SHDDBCLONE/DBCLONE , KBA , BC-UPG-TLS-TLA , Upgrade tools for ABAP , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.