home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!ucbvax!mtxinu!sybase!black
- From: black@sybase.com (Chris Black)
- Newsgroups: comp.databases.sybase
- Subject: Re: how poratble is embedded SQL across ORACLE, SYBASE, INGRES?
- Message-ID: <28547@sybase.sybase.com>
- Date: 25 Jan 93 17:10:51 GMT
- References: <1993Jan11.171828.20794@sni.ca> <C0qKxp.5pu@pronto.mh.nl> <28056@sybase.sybase.com> <1993Jan18.211146.15924@netcom.com>
- Sender: news@Sybase.COM
- Organization: Sybase, Inc.
- Lines: 43
-
- All of us at Sybase recognize the drawbacks with the 4.0 and pre-4.0
- precompilers. The new version coming out later this year is a
- complete re-write and should answer Gerald's concerns.
-
- In article <1993Jan18.211146.15924@netcom.com> gtynen@netcom.com (Gerard Tynen) writes:
- >I used Sybase's embedded SQL with COBOL on Unix last year. My client was
- >a great big bank in LA who was trying to downsize some DB2 applications.
- >Imagine our dismay when we discovered that the Sybase precompiler:
- >
- > 1) did not support COBOL packed decimal datatypes. Packed decimal
- > is COBOL datatype normally used for money. This was a bank. They
- > had lots of packed decimal data in their programs. Sybase expected
- > us to store all our money, therefore, in text datatypes. AS-IF!
-
- We will support comp-3 (packed decimal) as well as display (non-packed
- decimal) in the next release.
-
- >
- > 2) In addition, if we wanted to map a COBOL variable into a Sybase
- > MONEY datatype, not only did we have to convert to text, but the
- > text field only allowed two places after the decimal. We could not
- > read/write fractions of a cent through the precompiler, even though
- > the underlying Sybase datatype could have stored it.
-
- The new decimal type support will take care of this.
-
- > 3) We would have to do lots and lots and lots of rewriting of the
- > DB2 programs in order to use Sybase's precompiler.
-
- The new release will be NIST compliant, which will provide full
- compatibility with other compliant databases.
-
- > 4) Sybase support was not even aware that they had SQL precompilers
- > available. We ended up having to talk to the engineers.
-
- This situation is improving, with in-house precompiler training for
- our support staff.
-
- We're all very excited about the new precompiler. It's a vastly
- improved product which should meet user needs in both C and COBOL.
-
- -- Chris
- black@sybase.com
-