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

Conference clt::rtl

Title:OpenVMS Run-Time Libraries
Notice:Routines documented in the Run-Time Library volumes covered here
Moderator:LOWFAT::DIETER
Created:Sat Jan 25 1986
Last Modified:Wed May 28 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:966
Total number of notes:4598

964.0. "LIB$GET_LUN not allocating 299-120 ?" by ZPOVC::MONGKIA () Thu Apr 03 1997 15:30

    Hi,
    
    LIB$GET_LUN on my VMS/ALPHA 7.1 is able to allocate logical unit
    numbers from 119 to 100, and then 299 to 120 as stated in the RTL
    manual. However, it can only allocate from 119 to 100 logical unit
    numbers on my VMS/ALPHA 6.2-1H3 system. What am I missing ?
    
    Below is the Fortran program I used to test on both systems :-
    
    		PROGRAM TEST
                INTEGER LUN,STATUS
                   DO J=1,300               
                           STATUS = LIB$GET_LUN(LUN)  
                           IF (.NOT. STATUS) CALL LIB$SIGNAL(%VAL(STATUS))
                            TYPE *, ' J = ', J, '   LUN = ', LUN
                   ENDDO
                  
    
    Any comments ?
    
    Regards,
    Mong-Kia Tan, DEC Singapore
    
                                               
T.RTitleUserPersonal
Name
DateLines
964.1SSPADE::HIDERPaul Hider, DTN 381-2251Thu Apr 03 1997 15:535
 
  The number of LUNs issued by LIB$GET_LUN was increased for V7.0 (Alpha
  only).  There are NO plans at this time to do the same for VAX.

  _Paul.
964.2More LUNs for Alpha 6.2 ?ZPOVC::MONGKIAThu Apr 03 1997 16:2611
    Re : .1
    
    Thanks for the prompt reply.
    
    What I was wondering is why I couldn't get more LUNs for my ALPHA
    6.2-1H3.
    
    Do you mean the number of LUNs issued by LIB$GET_LUN is only increased
    for V7 Alpha and NOT V6.2 ALPHA ?
    
    Mong-Kia 
964.3QUARK::LIONELFree advice is worth every centThu Apr 03 1997 16:375
Yes, that's what it means.  Somewhere between V6.2 and V7.1 (V7.0, I think),
LIB$GET_LUN on Alpha was modified to allocate additional LUNs.  Originally,
this routine would allocate 100-119 only, and that limit remains on VAX.

				Steve