Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle Cobol pre-compiler - Why is the comp5 option on HP not implemented?

Re: Oracle Cobol pre-compiler - Why is the comp5 option on HP not implemented?

From: Michael Burden <Michael.Burden_at_CGEY.COM>
Date: 26 Aug 2003 10:09:59 -0700
Message-ID: <3bbc0756.0308260909.7fe5bfd6@posting.google.com>


Frederico Fonseca <real-email-in-msg-spam_at_email.com> wrote in message news:<mb3lkvg8nsgf8am84rbb4bkpdtkks47bdu_at_4ax.com>...
> On 25 Aug 2003 14:49:25 -0700, Michael.Burden_at_CGEY.COM (Michael
> Burden) wrote:
>
> >So why has Oracle not implemented this feature on HP and made it
> >platform specific?
>
> >The reason I need it is because we build our software libraries on HP
> >but we often use WINXX clients to test the programs using MF COBOL. To
> >make life easier it would be nice to use the UNIX build on WINXX
> >platforms using NFS or samba. As MF COBOL makes the semi-precompiled
> >files compatible across platforms this is feasible. However, I'm
> >having trouble implementing this mechanism because Oracle has not
> >implement the feature known as comp5 on HP. The silly thing is I can,
> >by amending the SQLCA etc to use COMP5, get the process to work but
> >this means I have to frig it and so is not the best solution. It also
> >relies on the fact the only issue I have found so far is the SQLCA.
> >Really all COMP fields should be converted to COMP5 which is what the
> >precompiler does if it has the comp5 feature.
> >
> >My point is surely this is such a noddy feature why make it platform
> >specific and give yourself more work. If it doesn't work on a platform
> >then the compiler will not accept the feature and it's the compiler
> >that does the hard work anyway.
> Unless I am wrong on my idea of how MF deals with variables defined on
> a ".int" you can acomplish what you need by adding the following line
> to each program (top of program unless you have a "replace off"
> instruction on the programs.
>
> REPLACE == COMP == BY == COMP-5 ==
> == COMP. == BY == COMP-5. ==.
>
> or by using the MAKESYN directive as
> MAKESYN "COMP" = "COMP-5";
> (available on NET EXPRESS)
>
> This should work, as COMP and COMP-5 are exactly the same on HP.
>
> Try it and see if it works as expected.
>
>

Thanks for the response.

I thought the MAKESYN was an Oracle precompiler option. I'll check this out. Cheers

>
>
> Frederico Fonseca
> ema il: frederico_fonseca at syssoft-int.com
Received on Tue Aug 26 2003 - 12:09:59 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US