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" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
