[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

85.0. "quadword+actual+usage" by RDGCSS::GRAY (Home by the C) Thu Jun 30 1988 07:26

    I'm having a great deal of trouble getting focus to translate
    a signed quadword. The file is an external RMS file and the datatrieve
    definition of the field goes like this...
    
    datatype is signed quadword
    .
    .
    picture is 9(7)V9(4)
    
    Datatrieve and BASIC programs can both access this field OK, but
    I've tried several FOCUS actual/usage combinations but none of them produce
    anything like the value displayed by DTR and BASIC.
    
    Can anyone help ?
    
    Thanks in advance,
    Peter F. Gray
    
T.RTitleUserPersonal
Name
DateLines
85.1F4 with RDBMAMIE::PETROPHThu Jun 30 1988 08:158
	The following works using RDB, not sure how it will do
    	with RMS.
    
 FIELD=GROSS_AMT   ,ALIAS=GROSS_AMT   ,USAGE=D18.2   ,F4      ,$

    	Rich...
    
85.2Meanwhile...RDGCSS::GRAYHome by the CThu Jun 30 1988 12:4410
    And the answer is...
    
    in the User Manual Supplement (Rel 1.3)
    - I8's are not mentioned in the "basic" User Manual (Rel 1.0)
    
    use I8 and I8.x for a picture 9(7)V9(x) quadword
    - I hope this will save someone (like me) a lot of time and effort.
    
    Pete.