Return-path: <root@fatcity.cts.com>
Envelope-to: oracle-l@orafaq.net
Delivery-date: Wed, 18 Sep 2002 23:39:41 +0800
Received: from newsfeed.cts.com ([209.68.248.164])
 by jean.onefuse.com with esmtp (Exim 3.36 #1)
 id 17rgvV-00033i-00
 for oracle-l@orafaq.net; Wed, 18 Sep 2002 23:39:41 +0800
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id IAA19449;
 Wed, 18 Sep 2002 08:39:10 -0700 (PDT)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 004D24A4; Wed, 18 Sep 2002 07:13:24 -0800
Message-ID: <F001.004D24A4.20020918071324@fatcity.com>
Date: Wed, 18 Sep 2002 07:13:24 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Ramon E. Estevez" <com.banilejas@codetel.net.do>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Ramon E. Estevez" <com.banilejas@codetel.net.do>
Subject: Re: cobol-oracle
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain;	charset="Windows-1252"
Content-Transfer-Encoding: 7bit

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

----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <ORACLE-L@fatcity.com>
Sent: Wednesday, September 18, 2002 3:23 AM


> 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@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@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@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@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).

