SAP Knowledge Base Article - Preview

2621230 - Online database 'for standby_access' fails with errors 12512 and 12542 - SAP ASE

Symptom

  • The online database command fails with errors 12512 and 12542
  • When using standby_access clause:

    online database <database_name> for standby_access
    go

    ... (truncated for clarity)
    Completed ANALYSIS pass for database '<database_name>'.

    Msg 12512, Level 16, State 1:

    Server 'SAP SYBASE', Line 1:
    Database '<database_name>' (dbid YY): has incomplete transactions. ONLINE DATABASE FOR STANDBY_ACCESS cannot be completed successfully.

    Msg 12542, Level 16, State 1:

    Server 'SAP SYBASE', Line 1:
    Load the next transaction log in the load sequence, or use ONLINE DATABASE with no options to end the load sequence.
    ASE could not bring database '<database_name>' online.


Read more...

Environment

SAP Adaptive Server Enterprise (ASE). All versions

Product

SAP Adaptive Server Enterprise all versions

Keywords

$rep_xact_for_dumpdb, sp_setreptable, sp_setrepproc, dbcc gettrunc , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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.