SAP Knowledge Base Article - Preview

2767036 - sp_shrink may cause a 3606 error with 'Arithmetic overflow occurred.' - SAP ASE

Symptom

  • sp_shrink may cause a 3606 error with a message 'Arithmetic overflow occurred.'.
  • This error may occur if one of device fragments >= 2GB.
  • There are 2 patterns which can cause a 3606 error with a message 'Arithmetic overflow occurred.'

1> sp_shrink 'database', 'test01', 'test_dev01', '5G'
2> go
Msg 3606, Level 16, State 4:
Server 'servername', Procedure 'sp_shrinkdb', Line 286:
Arithmetic overflow occurred.
(return status = -6)
1>

1> sp_shrink 'device', 'test_dev01', '5G'
2> go
Msg 3606, Level 16, State 4:
Server 'servername', Procedure 'sp_shrinkdevice', Line 272:
Arithmetic overflow occurred.
(return status = -6)
1>


Read more...

Environment

  • SAP Adaptive Server Enterprise 16.0 SP03 PL06
  • All platforms

Product

SAP Adaptive Server Enterprise 16.0

Keywords

sp_shrink, 817389, CR817389, CR#817389, 818724, CR818724, CR#818724, Arithmetic, overflow, sp_shrinkdb, sp_shrinkdevice, sysusages, 2GB , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , 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.