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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: cobol-oracle

Re: cobol-oracle

From: Ramon E. Estevez <com.banilejas_at_codetel.net.do>
Date: Wed, 18 Sep 2002 07:13:24 -0800
Message-ID: <F001.004D24A4.20020918071324@fatcity.com>


If you just want a numeric field of 10 positions

field                pic 9(10).  --> 10 numeric positions 0123456789
field                pic 9(10)V99 --> 10 numeric positions plus 2 decimals
0123456789.12

in your definition

   s means sign field
   comp-5 means a compressed field.

luck

Ramon

> hi all
>
> how to define a number(10) oracle datatype in microfocus cobol.
> when we code it as pic s9(10) comp-5 we get an error message
> PCC-0026 Undeclared host variable "name" at line num in file "name"
>
> with a number(5) datatype and a cobol definition pic s9(5) comp-5 we
don't
> get the error message.
> i read in the oracle manuals that there is no representation for the
NUMBER
> datatype in COBOL.
> Anyone with an explanation ?
>
>
> with regards
> g.g. kor
> rdw ict groningen
> holland
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: GKor_at_rdw.nl
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ramon E. Estevez
  INET: com.banilejas_at_codetel.net.do

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Sep 18 2002 - 10:13:24 CDT

Original text of this message

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