[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decc

Title:DECC
Notice:General DEC C discussions
Moderator:TLE::D_SMITHNTE
Created:Fri Nov 13 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2212
Total number of notes:11045

2111.0. "more than 256 Open files numberson Open VMS V6.2 " by DEKVC::JUNMOKSONG () Mon Mar 03 1997 22:10

    
    Hi,
    
    My customer now is using DEC C V5.2 and Open VMS ALPHA V6.2
    and he want to open 350 files simultaneously but he couldn't
    And I read note 606 but because user had application whcih
    can be run on Open VMS ALPHA V6.2, the can't upgrade Open VMS.
    How can I increase the open files (for example patch for 
    CHANNLELCNT of sysgen parameter) on this current version?
    
    Best Regards,
    Jun-Mok Song 
T.RTitleUserPersonal
Name
DateLines
2111.1you have to upgradeTAVENG::BORISBoris Gubenko, ISETue Mar 04 1997 02:2121
>     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
2111.2Simple Matter Of Calling RMS Directly...XDELTA::HOFFMANSteve, OpenVMS EngineeringTue Mar 04 1997 10:368
   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...)