I've definitely seen some non-prime modulos make a mess of things on 
platforms that allow them.  UniData forces everything to a prime number, 
but UniVerse and some PICKs don't.  If I remember rightly, Sequoia forced 
it to a number ending in 1, 3, 7, or 9.  I remember an argument years ago 
- supported by Dick Pick, I believe - that said any number that is not 
divisible by 2 or 5 would be OK with a mod-10 hashing algorithm.  I've 
never played with the math of it, but it sounds valid on the surface. I've 
seen lots of files with a modulus of 301 - apparently people think it 
looks kinda prime-ish - that worked as well as the actual prime of 307. 
But change it to 300 and it's a different story.


Tim Snyder
Consulting I/T Specialist , U2 Professional Services
North American Lab Services
DB2 Information Management, IBM Software Group
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to