[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ilbbak::ibi_focus

Title:FOCUS, from INFORMATION BUILDERS
Moderator:ZAYIUS::BROUILLETTE
Created:Thu Feb 19 1987
Last Modified:Mon May 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:615
Total number of notes:1779

360.0. "G_Floating/D_Floating Double-Precision" by GVAADG::DONALDSON (the green frog moos...) Tue Aug 14 1990 08:26

    Hi,

    we have an RMS database which is created and
    maintained by Pascal. Some of the fields in it
    are in G_Floating-Point Double-Precision format.

    It appears to me that FOCUS can only handle
    D_Floating-Point Double-Precision format (by using
    ACTUAL is 'D').

    Am I right? Is there any way to interpret these numbers
    using FOCUS?
    
John D.
T.RTitleUserPersonal
Name
DateLines
360.1MRE has it now....CUCKOO::OTTENSi vis pacem, Pare Bellum.Wed Aug 15 1990 04:5626
Yes, there is..

If you unpack the save_sets for MRE (any version), and follow the 
post-installation tasks for FOCUS, it instructs you
to relink the fuselib.exe.

Among the new modules is a routine called MRE$GTOD
that converts G-Floating numbers to D-Floating Numbers.


In the .MAS file, You use it like:


FIELD = G_FLOAT ,ALIAS=            ,USAGE=D8.2     ,D8        ,$
 DEFINE D_FLOAT/D8.2 = MRE$GTOD(G_FLOAT,D_FLOAT);$
 

The MRE Save_sets are on RELMGT::DISK$OTHER:[RELEASE.V53MIG.MRE020]

or
RELMGT::DISK$APPL:[RELEASE.APPL.MRE013]

Hope this helps...


David
360.2thanksGVAADG::DONALDSONthe green frog moos...Wed Aug 15 1990 05:428
    Re: .-1.

    Well, I entered my note really as a last resort.

    Many thanks David, I think you just helped us avoid
    what was going to be a very long work-around. :-)

    John D.
360.3CUCKOO::OTTENSi vis pacem, Pare Bellum.Wed Aug 15 1990 09:5210
Or Use MRE.... :-)


No Problem.. how to relink FUSELIB is in the MRE Installation Guide..
Please MAIL or Phone me on 782-2675 if you have any
problems..

David

(I do NOT support FOCUS.. Just MRE...)