🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1449

file-segment limit exceeded

#1449
From: Douglas Harvey
Date: Fri, 17 Aug 1990 20:31
30 lines
1577 bytes
Hello fellow OS/2 programmers,

I seem to have run into a system limit with OS/2 that is incredibly limiting.
We are using the Micro Focus COBOL compiler to build our application, and
as the application is beginning to take shape, we have started running into
the problem mentioned in the Subject line above; namely, our DLL's can only
contain around fifty modules (or so) because each one uses around four file
segments and the OS limits DLL's to 256.  The LINK command suggests using
the /PACKCODE and/or the /PACKDATA options to get around the problem, but
then the COBOL program blows up at run-time.

By the way, packing the code and data segments works ok with "C".

Has anyone else run into this situation, and more importantly, found a way
around it?

If the limit is now 256, will this limit be increased in 2.0?  Alistair?

Given the current situation, I have to comment that the limit of 3072 
entry points in a DLL looks entirely whimsical.

Thanks in advance,      

Doug Harvey
  
-- 
Douglas Harvey                      Email: drharvey@chinet.UUCP
Hewitt Associates                   Compuserve: 72341,104
100 Half Day Road                   Phone: (708) 295-5000
Lincolnshire, IL  60069
Technical Details
Message-ID: <1990Aug17.203144.18913@chinet.chi.il.us>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcdchg!chinet!drharvey

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcdchg!chinet!drharvey
From: drharvey@chinet.chi.il.us (Douglas Harvey)
Newsgroups: comp.os.os2.programmer
Subject: file-segment limit exceeded
Message-ID: <1990Aug17.203144.18913@chinet.chi.il.us>
Date: 17 Aug 90 20:31:44 GMT
Organization: Chinet - Public Access UNIX
Lines: 30