HP OpenVMS Systems

ask the wizard
Content starts here

Large RMS Files and C?

» close window

The Question is:

Any idea if and/or when the C runtime library will have large file support?
 Currently things are capped at 32 bits, which makes dealing with larger files
 rather difficult. (It means dropping back to RMS directly, which is
 significantly more complex than u
sing the C stdio library for the VMS-impaired)

The Answer is :

  The OpenVMS Wizard will assume this is the stat() call.
  The current stat() limit is a result of the use of a longword-sized
  field for the size of the file in bytes.
  There is a new version of stat() under development (as of August
  2001), and the new version bypasses the current four gigabyte file
  size limit within stat() -- this change is already integrated into
  the OpenVMS DII COE release, currently in development.
  The updated stat() call is planned for general availability in the
  OpenVMS V7.3-1 release.
  The OpenVMS Wizard would look seriously at wrappers around the RMS
  functions, as these provide the benefits of RMS calls tailored for
  the application, but without requiring all programmers to understand
  RMS.  In most cases, these wrappers can look similar or identical to
  the existing standard I/O calls of C.

answer written or last revised on ( 9-AUG-2001 )

» close window