"Division by zero was attempted" at Step CM_COSTING.CostAdj.PAvgAdj.OnExecute - Function DoStepActions when Running the 'Cost Accounting Line Creation' Process (CM_CSTACCTG) (Doc ID 1080631.1)

Last updated on OCTOBER 21, 2015

Applies to:

PeopleSoft Enterprise SCM Cost Management - Version 8.4 and later
PeopleSoft Enterprise SCM Manufacturing - Version 8.9 and later
PeopleSoft Enterprise SCM Inventory - Version 8.9 and later
Information in this document applies to any platform.
This Document applies to Cost Management releases > 8.9

Symptoms

The following error is issued when running the 'Cost Accounting Creation' process (CM_CSTACCTG) (navigation: Cost Accounting, Inventory and Mfg Accounting, Create Accounting Entries, Cost Accounting Creation):

Return: 8601 - [IBM][CLI Driver][DB2/AIX64] SQL0801N Division by zero was attempted. SQLSTATE=22012
(SQLSTATE 22012) -801

SQL error in Exec. (2,280) CM_COSTING.CostAdj.GBL.default.1900-01-01.PAvgAdj.OnExecute PCPC:1807 Statement:35
DoStepActions [1798] Exception logged: RC=100.

Process 2863852 ABENDED at Step CM_COSTING.CostAdj.PAvgAdj (PeopleCode) -- RC = 8 (108,524)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms