Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
IDL Logical Unit question: ever seen this?
After looping thru a list of 150 files, somewhere after a few dozen of them, I get stopped dead with 'no more logical units'. But HELP does not show any problem: SAGA> openw,unit,'/tmp/tst',/get_lun % OPENW: All available logical units are currently in use. % Execution halted at: DO_FILE 36 SAGA> help,/files Unit Attributes Name 100 Read, Write, Append /rsage/log.rwelti SAGA> SAGA> close,/all SAGA> openw,unit,'/tmp/tst',/get_lun SAGA> print,unit 100 Can anyone shed light on how to diagnose this?? I'm stumped. Thanks, / Russ Welti /-\ (c-g) University of Washington \-/ Molecular Biotechnology / PO Box 357730 /-\ Seattle, WA 98195 (a-t) rwelti@u.washington.edu \-/ (206) 616 5116 voice (206) 685 7301 FAX /
Re: IDL Logical Unit question: ever seen this?
In article <Pine.SOL.3.91.961114175125.21766A-100000@mapper.mbt.washington.edu> Russ Welti <rwelti@mapper.mbt.washington.edu> writes: > After looping thru a list of 150 files, somewhere after > a few dozen of them, I get stopped dead with 'no more > logical units'. But HELP does not show any problem: > > SAGA> openw,unit,'/tmp/tst',/get_lun > % OPENW: All available logical units are currently in use. > % Execution halted at: DO_FILE 36 > SAGA> help,/files > Unit Attributes Name > 100 Read, Write, Append /rsage/log.rwelti > SAGA> > SAGA> close,/all > SAGA> openw,unit,'/tmp/tst',/get_lun > SAGA> print,unit > 100 > > Can anyone shed light on how to diagnose this?? > I'm stumped. Russ, The following is in the documentation, but it is _not_ where I would most expect it -- under OPEN in the Reference Manual. The following comes from the User's Manual chapter on "Files and Input/Output": "Use the FREE_LUN procedure on a LUN that has been allocated by GET_LUN." ----------------------------------------------------- J. Bob Brown jbob@snap.med.ge.com Consulting for GE Medical Systems For ID only -- standard disclaimers apply. "Of course that's just my opinion. I could be wrong." -Dennis Miller -----------------------------------------------------