Let's start a new post, in response to some FileMan "fixes" that Jim Self posted elsewhere here on the hardhats list.
Jim, I agree that we need to make FileMan more flexible about enforcing (what was) the 255-character limit on the length of MUMPS strings, I will take your suggestion in MSC FileMan of storing an alternative length in the (as yet nonexistent) node ^DD("STRING_LIMIT"). In a presentation I made to WorldVistA in January, I actually talked about this needed enhancement. There are places other than the routines you cite where this will be useful. But I have always been worried about users who would run FileMan with an "extended" limit on string size, and then try to transport the definitions they have created back (via KIDS) to a site where the limit was tighter. That's why I hestitate to make some of the changes you suggest.
Also, why did you default the maximum length to 1024 bytes, in the FileMan lines you changed, if ^DD("STRING_LIMIT") does not exist?
-- --------------------------------------- Jim Self Systems Architect, Lead Developer VMTH Information Technology Services, UC Davis (http://www.vmth.ucdavis.edu/us/jaself) --------------------------------------- M2Web Demonstration with VistA (http://vista.vmth.ucdavis.edu/) ---------------------------------------
[KSB] <...snip...>
> The 255-character limit has not reflected the actual limits of M
> implementations for many years. Enforcing an obsolete limit like that is
> a policy choice for a sysadmin. That shouldn't be determined by
> hardcoded limits in a general utility like Fileman.
>> Also, why did you default the maximum length to 1024 bytes, in the
>> FileMan lines you changed, if ^DD("STRING_LIMIT") does not exist?
> I made the string length changes some years ago so I don't recall
> clearly. It seemed the minimum usable number at the time. It might have
> been that the oldest VistA distributions for GT.M on source forge were
> configured with only 1KB data blocks. Any other current implementation
> of M I have heard of that is capable of running Fileman has had a much
> higher actual string length limit for many years.
[KSB] For the record, the string size limit in GT.M is 1MB for local
variables.
For global variables, the requirement is that the global node must fit
in one database block, so the limit is determined by the database block
size (and less than 1MB).
Regards
-- Bhaskar
______________
The information contained in this message is proprietary and/or confidential. If you are not the
intended recipient, please: (i) delete the message and all copies; (ii) do not disclose,
distribute or use the message in any manner; and (iii) notify the sender immediately. In addition,
please be aware that any message addressed to our domain is subject to archiving and review by
persons other than the intended recipient. Thank you.
_____________
On 04/14/2008 11:29 AM, Jim Self wrote: [KSB] <...snip...>The 255-character limit has not reflected the actual limits of M implementations for many years. Enforcing an obsolete limit like that is a policy choice for a sysadmin. That shouldn't be determined by hardcoded limits in a general utility like Fileman.Also, why did you default the maximum length to 1024 bytes, in the FileMan lines you changed, if ^DD("STRING_LIMIT") does not exist?I made the string length changes some years ago so I don't recall clearly. It seemed the minimum usable number at the time. It might have been that the oldest VistA distributions for GT.M on source forge were configured with only 1KB data blocks. Any other current implementation of M I have heard of that is capable of running Fileman has had a much higher actual string length limit for many years.[KSB] For the record, the string size limit in GT.M is 1MB for local variables. For global variables, the requirement is that the global node must fit in one database block, so the limit is determined by the database block size (and less than 1MB).
I am curious what the biggest single global nodes are in production
VistA implementations. Anyone know?
Regards
-- Bhaskar