The RB4SIZE parameter returns the size, in bytes, of the RB4 file of the currently connect database. You may need to use the following syntax for large databases:
SET VAR vSize DOUBLE = (ISTAT('RB4SIZE'))
This is simply because the default datatype, INTEGER, may not be able to hold values as large as you need.