Re: Acucobol and DB2
- From: "Richard" <riplin@xxxxxxxxxxxx>
- Date: 26 Feb 2007 12:44:52 -0800
On Feb 27, 5:45 am, tomsta...@xxxxxxxxx wrote:
Hi,
Having a problem with Db2 and Acucobol, Selecting numeric values.
The same select works fine with VisualAge cobol and DB2 and Acucobol
and Oracle.
I can fix the problem by changing the COMP values to COMP-3, but I
cant change the entire application.
Here is an example:
The account number in the database is 20012
The acucobol/db2(udb) select returns: 961413120
the sqlcode is zero and the text fields are returned fine.
-thanks
Do you have EXEC SQL BEGIN DECLARE SECTION ... END DECLARE around the
host variables ?
.
- References:
- Acucobol and DB2
- From: tomstacky
- Acucobol and DB2
- Prev by Date: Help! GO TO and PERFORM THRU!
- Next by Date: Cobol source code for a text adventure
- Previous by thread: Re: Acucobol and DB2
- Next by thread: Re: Acucobol and DB2
- Index(es):
Relevant Pages
|