SAP Knowledge Base Article - Preview

2460673 - rs_subcmp -h error "Number of primary key column(s) = 0" - SRS


  • Running rs_subcmp on a table having no unique key, specify all columns (except text/image) in the order by clause, and no "-k" option. 
  • In normal (non-hash) mode, it runs successfully.  
  • However in hash, fast comparison mode (using "-h"), it fails with this message:
         Number of primary key column(s) = 0 [c/subcmp.c(1215)]   



SAP Replication Server (SRS) 15.1 or higher
SAP Adaptive Server Enterprise (ASE) 15.0.2  or higher



SAP Adaptive Server Enterprise all versions ; SAP Replication Server all versions


KBA , BC-SYB-REP , Sybase Replication Server (standalone) , 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 ONE Support launchpad (Login required).

Search for additional results

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