|
 |
|
|
| |
|
COBOL Language [
return
] |
|
From |
Message |
jassi
11/08/2005 03:43:29
|
Subject: query!!!
Message: Suppose a table has a field of type NUMBER(31,5).
Then how can one represent this in cobol-85 where at max only 18 digits are allowed to represent a oracle table field of NUMBER.
|
sreevalsan
11/08/2005 05:15:14
| RE: query!!!
Message: It is simple Use Computation clause.
In the Pic clause use Comp.
Many Cobols have diff. computational clause.
Regds
Sreevalsan
|
vst
1/11/2006 02:04:57
| RE: query!!!
Message: I suspect there is no simple way to represent Oracle NUMBER(31,5) data as any of Cobol(-85) packed-decimal or computational type since both are restricted by 18 digits. Simplest way is truncate Oracle column data to 18 digits. I have met the same problem while conversion of Easytrieve code (which allows numeric data with more than 18 digits) to Cobol (see http://www.gomel.iba.by/en/show/pages/147/148/mass-conversion_tool)
|
|
|
|
|
|
|
|
|
|
|
[ Go to Top of Page ]
|
|
 |
|
COBOL Forums |
Do you need COBOL help?
Let the COBUG members help you.
Post your issues!
|
 |
|
COBOL Job Resources |
Here are references to a wealth of
COBOL job resources, including job listing sites, resume preparation, and interview questions.
|
 |
|
Job and Resume Matchmaker! |
Employers submit your COBOL job openings.
Job seekers submit your resumes.
|
 |
|