next up previous contents
Next: Free a Logical Up: Logical Unit Manipulation Previous: Reserve specific Logical

Get a Free Logical Unit No

This Subprogram reserves a free Logical Unit Number from the free pool.

Short Name Calling Sequence

STATUS = UIGTLU(LUN)

Long Name Calling Sequence

STATUS = UI_GET_LUN(...)

Input Arguments

None

Output Arguments

LUN (Integer) Logical Unit No.

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

UI__NO_FREE_LUN ) No Free Logical Unit UINOLU ) available

Note:

  1. Logical Units lie in the range 1-99 (where 5 and 6 are pre-reserved).


Liz Buckle
Fri Jan 13 17:30:40 CST 1995