[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference clt::sort32

Title:Sort/Merge Utility
Moderator:RTL::BENTON
Created:Wed Jun 01 1988
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:306
Total number of notes:1080

305.0. "Loop in SORT (=> DEVICEFULL error ) ?" by PADKOA::COSTEUX (Le Plat Pays qui est le mien...) Thu Jan 23 1997 09:36

T.RTitleUserPersonal
Name
DateLines
305.1SWAGAUSS::GARSONDECcharity Program OfficeThu Jan 23 1997 16:334
305.2Large LRL + variable length => DEVICEFULLGIDDAY::GILLINGSa crucible of informative mistakesMon Jan 27 1997 19:4316
    Jean-Pierre,
    
      When sorting a file with variable length records, SORT creates a
    workfile with *fixed length* records of sufficient size for all the 
    input records. So, if your input file reports an LRL of 32765 and has
    (say) 100,000 records, SORT will attempt to create a workfile of
    around 6,500,000 blocks. Usually enough to DEVICETFULL most disks.
    Even if there is sufficient space to create the workfile, performance
    isn't too good.
    
      Try SET FILE/ATTRIB=(MRS:100,LRL:100) on the input file and see if
    it makes a difference. If you have a more accurate figure for the
    actual longest record, use that.
    
    						John Gillings, Sydney CSC