| > How can I increase the open files (for example patch for
> CHANNLELCNT of sysgen parameter) on this current version?
For now there is no way to have more than 256 open files using the DEC C RTL
I/O on OpenVMS V6.2.
To take advantage of increased Open File Limit (from 256 to 65535 on Alpha
and to 2047 on VAX) you need both DEC C V5.2 or higher and OpenVMS V7.0 or
higher. The <stdio.h> header shipped with the compiler contains changed
definition of the FILE structure needed to support increased Open File Limit
while DEC C Runtime Library shipped with OpenVMS provides run-time support
for the increased limit.
See Section 4.6.1.2 Open File Limit Increased in OpenVMS Version 7.0
Release Notes manual.
Note, that actual Open File Limit is determined not only by the limit
imposed by the DEC C RTL, but, also, depends on the SYSGEN parameter
CHANNELCNT.
Boris
|
|
Sure, this is trivial. Make sure SYSGEN parameter CHANNELCNT and
the user FILLM is high enough, and simply use RMS calls directly.
Most any release of OpenVMS, any release of DEC C or VAX C...
(Be aware that there are reasons why the customer might want to
start implementing an `open file cache', to allow the application
to grow beyond its current 350 file requirement...)
|