[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] editing numeric data from alphanumeric strings

From: Domain Admin
Subject: Re: [open-cobol-list] editing numeric data from alphanumeric strings
Date: Sun, 11 Jan 2009 10:31:48 -0500


We have a repository set up on add1 for extra libraries, tools, extensions and applications written in
OpenCobol, if you are interested hit us up sometime at:

Of course you can look at my sig for more info.

Kind Regards,

On Fri, Jan 9, 2009 at 2:28 PM, Michael <address@hidden> wrote:
Good stuff to know, and I do appreciate your input, I may even change my
ways someday. ;-)


Bill Klein wrote:
> The NUMVAL functions (NumVal, NumVal-C, and (new) NumVal-F) do not TELL you
> the number of decimal points, but they do support input with any number of
> decimal points that would be valid in a COBOL data item (i.e. 18 in older
> COBOL and 31 digits in current COBOL).
> You can get the decimal part of a numeric-edited input field by using a
> combination of NumVal functions and INTEGER-OF functions.  This would allow
> you to "move" the output of a combination of functions to a
>    Pic SV9(31)
> receiving item to get all (and just) the decimal portions of an input field.
> P.S.  I understand that there are MANY "de-editing" routines around -
> especially for shops that started using '74 or earlier COBOL.  I was only
> pointing out that OpenCOBOL includes the intrinsic function(s) to do most of
> what is wanted by such routines.

Check out the new Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
open-cobol-list mailing list

Joseph James Frantz
Regular add1tocobol meetings:
Channel: #add1tocobol
Access from the web:
Date: Sundays
Time: 9:00am Eastern

::::::::NOTE IMPORTANT::::::::::
There has been some confusion as to the time. I believe this is because the United States uses Daylight Savings Time. On top of this the Government recently extended the dates that EDT (eastern daylight time) would run. So to be sure that you make it at 9am Eastern, I have this link:

That shows the time in New York City at the moment of viewing. It also explains the current UTC offset for the Eastern Zone in the United States. Simply compare the current time that site states, with your current time and you will know how far off we are from you.

We're there all of the time, even when we do not have a meeting. Stop on by for Open Cobol Support and chat.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]