Dave;

There can be a problem with 2GB files. If they are static they will fail
when a write tries to add an item that is 'hashed' over the 2GB limit. 

Note: my testing has shown that there are no warnings if you create, resize,
or memresize a file larger than 2GB. Additionally, unix has a ulimit that is
an upper limit on file sizes.

Here is a quick program that shows you the info about a file. You can use
the ideas to write something that goes through your VOC looking for files
that may be in trouble....

hth

001: *
002: * This will provide information about the
003: * Unidata file structure
004: * Colin Alfke
005: IF FIELD(@COMMAND,' ',2) = '' THEN
006:   CRT 'ENTER FILE NAME: ':
007:   INPUT FNAME
008: END ELSE
009:   FNAME = OCONV(@COMMAND,'G1 99')
010: END
011: OPEN FNAME TO WORK.FILE ELSE STOP 201, FNAME
012: FT = FILEINFO(WORK.FILE,3)
013: BEGIN CASE
014:  CASE FT = 2
015:    FT.DESC = 'Hashed'
016:  CASE FT = 3
017:    FT.DESC = 'Dynamic'
018:  CASE FT = 4
019:    FT.DESC = 'Directory'
020:  CASE FT = 5
021:    FT.DESC = 'Sequential'
022:  CASE FT = 8
023:    FT.DESC = 'OS'
024:  CASE 1
025:    FT.DESC = 'other'
026: END CASE
027: CHECK.INDEX = FILEINFO(WORK.FILE,13)
028: IF CHECK.INDEX = 1 THEN
029:   SECOND.INDEX = 'Yes'
030: END ELSE
031:   SECOND.INDEX = 'No'
032: END
033: CRT
034: CRT 'VOC:          ':FILEINFO(WORK.FILE,17)
035: CRT 'Path:         ':FILEINFO(WORK.FILE,2)
036: CRT 'Type:         ':FT.DESC
037: CRT 'Modulo:       ':FILEINFO(WORK.FILE,5)
038: CRT 'Block Size:   ':FILEINFO(WORK.FILE,8)
039: CRT 'Hash Type:    ':FILEINFO(WORK.FILE,4)
040: CRT 'Alt. Index:   ':SECOND.INDEX
041: CRT 'Permissions:  ':FILEINFO(WORK.FILE,19)
042: CRT
043: CRT

-- 
Colin Alfke
Calgary, Alberta Canada

"Just because something isn't broken doesn't mean that you can't fix it"

Stu Pickles


-----Original Message-----
From: Dave Raven [mailto:[EMAIL PROTECTED]

Gentlemen,

I was having a walk-around this Unidata system. I noticed that some of the
files are approaching 2 gb and a couple of files are over 2 gb. Is there a
future problem looming.

What is the 2 gig limits mentioned in some of the email's?

Dave Raven 
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to