Home > Archive > Cobol > January 2005 > Converting Programs from HP3000 MPE Cobol to HP9000 UX Cobol
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Converting Programs from HP3000 MPE Cobol to HP9000 UX Cobol
|
|
|
| We are in the process of a huge conversion project and we keep finding
little bugs on the MF-Cobol HP9000 side. For instance Reports are ok
except the totals are off. It seems like an initialization problem, but
I do not see anything obvious. I've been told MF Cobol is very strict
in initialization, such as moving low-values to comp-3 fields. Does
anyone have any ideas?
| |
|
| I put in a date of 1204, also it was ran on the HP 3000 and the 3000
came up with 26 million. The 9000 14 million.
Richard wrote:
> Jeff wrote:
and[color=darkred]
> it
> expecting
>
> If you are 6 months into the year, ie it started in July then
14million
> may well be the correct figure. YTD is Year To Date, from the start
of
> the year to now, not 12 months.
| |
| William M. Klein 2005-01-21, 3:55 am |
| Yes, it could be any of those things. It could also be a problem with the TRUNC
compiler option. Also the ARITHMETIC directive.
Micro Focus has ways of running in "very strict ANSI conformance" and ways of
running in TOTALLY non-conforming - all depending upon which directives are
used. You really need to figure out what where your "old" program was
conforming and where it was not - and then select your directives to match the
DESIRED behavior.
--
Bill Klein
wmklein <at> ix.netcom.com
"Jeff" <jmoore207@hotmail.com> wrote in message
news:1105963780.529928.3780@c13g2000cwb.googlegroups.com...
>
> Michael Mattias wrote:
> moving
> in the
> the
> DEFAULT-BYTE
>
> The odd thing about this is the program I am working on is a report
> with the headings
>
> Gross Adjustments Net/Month YTD %Chg
>
> The Gross, Adjust, Net/Month are correct but the YTD is way off, and it
> really doesn't seem like its a 2020202 problem. Example, if the
> Net/Month was 2,205,277.17 but the YTD is 14,137,147.61 I was expecting
> it to be 26 million. The program is going out and reading Oracle
> database and retrieving info and putting in a huge table. Could it be a
> subscript problem or a problem in the database?
>
| |
| Richard 2005-01-21, 3:55 am |
| Jeff wrote:
> The odd thing about this is the program I am working on is a report
> with the headings
>
> Gross Adjustments Net/Month YTD %Chg
>
> The Gross, Adjust, Net/Month are correct but the YTD is way off, and
it
> really doesn't seem like its a 2020202 problem. Example, if the
> Net/Month was 2,205,277.17 but the YTD is 14,137,147.61 I was
expecting
> it to be 26 million.
If you are 6 months into the year, ie it started in July then 14million
may well be the correct figure. YTD is Year To Date, from the start of
the year to now, not 12 months.
|
|
|
|
|