Thank-you Simon.   I just checked my  file, and from just eye-balling it, I 
figure about 250 bytes per item, so I can lower my size by about 75%. I tried 
the "jrf FILENAME -R" but didn't get any report.  Using vers. 4.3.10 on xp-pro  
I was in the folder where the file exists. Dave.
 Date: Fri, 25 May 2012 17:51:27 +0100
From: [email protected]
To: [email protected]
Subject: Re: jbase question or two


  
    
  
  
    See inline below

    

    On 25/05/2012 17:42, David Grenfell wrote:
    
      
      
        Good Day to you all:

         

        I am about to set up a new account and have a couple of
        questions regarding file sizing.

         

        1/  Is there a dict item I can use to see the size of my items
        in a file ?  For example.... "LIST FILENAME size"  which would
        show me the item ID and the size of the item.

         

      
    
    LIST FILENAME *A9999     will work.

    
      2/Once I have a look at the items sizes, I assume I
        can do the following to create a file with the approximate size.

         

        For now, lets assume that there are 1000 bytes per item.  Each
        bucket holds 4096 bytes, so approximately 5 items per bucket.

         

        67000 items/5 indicates 13200 buckets

         

        so.... CREATE-FILE FILENAME 3 13200  should do it.

         

        Am I correct ? or is 13200 too much?

         

      
    
    It sounds reasonable.   Fill it with data and then use jrf
    FILENAME   to resize it.

    
      Dave.

      
      -- 

      IMPORTANT: T24/Globus posts are no longer accepted on this forum.

       

      To post, send email to [email protected]

      To unsubscribe, send email to [email protected]

      For more options, visit this group at 
http://groups.google.com/group/jBASE?hl=en

    
    

  




-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to [email protected]

To unsubscribe, send email to [email protected]

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
                                          

-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to