Run time warning WARNING: DS0104-COBOL

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Run time warning WARNING: DS0104-COBOL

Post by roy »

Hi All,
The warning I get from the MainFrame's run logs is:
WARNING: DS0104-COBOL A numeric data assignment caused an overflow;
Some numeric precision was lost.
Any ideas on how to get to the column in question?
I got quite a few of them ...

Thanks in advance ...
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

First thing to do is to look for some columns with large numbers in them, or columns that derive from multiplication somewhere in the job design.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

In other words, are you saying there is no other way except try and error; Ray? Not( :shock: ing)
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No, you can inspect your logic looking for likely candidates to cause an arithmetic overflow (usually multiplication, but maybe also addition (aggregation) over many values). Also look at the source data for numeric columns that contain large values. No need to "try" the job.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

It turns out that the table was built with 3 fields that were defined shorter then they really are.
Once this was found and corrected the warnings were gone :)

Thanks Ray!
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply