HP3000-L Archives

November 1997, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Vikram Kumar <[log in to unmask]>
Reply To:
Vikram Kumar <[log in to unmask]>
Date:
Wed, 5 Nov 1997 08:58:06 +0530
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
Oscar Santiesteban Jr. wrote:
>
> I was wondering if anyone in this newsgroup can tell something about
> real numbers and how to use them in COBOL.
>
> I know the PAUSE Intrinsic uses a real number in order to pause (wait)
> your program so many seconds.  I now how to do this via the EXTIN'
> intrinsic.  This will create a real number so that you can use it in
> your COBOL program.
>
> Questions:
>
> Is there a EXTOUT' to convert a real to an S9(9) COMP?
>
> How can this be accomplished?
>
> Thanks to anyone that can respond....Please e-mail...
>
> Oscar. . . .

Hi Oscar,

 In Image you can use type designator E to represent a real (IEEE
floating point) number, for a data item. As I am not expert in COBOL,
I may not be of help for your main question.

Regards
Vikramkumar
HP-CSY

ATOM RSS1 RSS2