I need to count how many file labels on particular devices as we're hitting the limit on the number of labels well before running out of disk space. I thought the following was a reasonable attempt but I've no idea what EOF I'm hitting. %SETVAR VESOFTFVLIMIT=100000000 %REPEAT %>SETVAR CURRDEV,"DEV![RFILE.FLABLDEV]" %>IF BOUND(!CURRDEV) = FALSE THEN %> SETVAR !CURRDEV,0 %>ENDIF %>SETVAR !CURRDEV,!CURRDEV + 1 %>FORFILES @[log in to unmask]@ END OF FILE (FSERR 0) Error: Doing Fwritedir of .SUPPORT.SYS. Should anybody now the exact limit for the number of labels on a device I'd appreciate the information. From bitter experience it appears to be somewhere around 450,000 but I can't find it documented anywhere. Thanks Chris ********** Posted from www.3kworld.com * To join/leave the list, search archives, change list settings, * * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *