Re: get_lun returns LUN already in use [message #29402] |
Fri, 15 February 2002 10:29 |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
george.mccabe@gsfc.nasa.gov (George McCabe) writes:
> hello,
>
> a unexpected thing happens when a logical file unit is allocated in
> the setup batch procedure execeuted when idl session is started. the
> first use of get_lun at the IDL prompt returns the unit already in
> use.
>
>
> ; LUN 100 is in use...
>
> IDL> help,/files
> Unit Attributes Name
> 100 Read, Write, New /tmp/idl-8391185
>
> ; but get_lun returns unit 100?
>
> IDL> get_lun,fu
> IDL> print,fu
> 100
How did unit 100 get opened the first time? If you opened that file
unit manually, without using GET_LUN, then *that* is "not right".
Logical file units above 100 are reserved for GET_LUN.
Craig
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|