<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:tocPath="About the Environment Variables" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-US" xml:lang="en-US" MadCap:PathToHelpSystem="../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Environment Variables for Administering License Queuing</title>
        <link href="SkinSupport/MadCap.css" rel="stylesheet" />
        <link href="Resources/Stylesheets/SFNT_Flare.css" rel="stylesheet" />
        <script src="SkinSupport/MadCapAll.js">
        </script>
    </head>
    <body>
        <p class="MCWebHelpFramesetLink MCWebHelpFramesetLinkTop" style="display: none;"><a href="../Default_CSH.htm#Environment_Variables_Queuing.htm" style="font-weight: bold;">Open the Table of Contents</a>
        </p>
        <div class="MCBreadcrumbsBox_0"><span class="MCBreadcrumbsPrefix">You are here: </span><a class="MCBreadcrumbsLink" href="About the Environment Variables.htm">About the Environment Variables</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">For Administering License Queuing</span>
        </div>
        <h1><a name="kanchor44"></a>Environment Variables for Administering License Queuing</h1>
        <p>Several environment variables allow the network administrator to set 
 license queuing preferences. These environment variables override settings 
 within the application itself originally set by your vendor.</p>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_2011105047_0" onclick="FMCDropDown( this ); return false;" name="LS_MAX_Q"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LS_MAX_QWAIT_SEC 
 - Set Maximum Queue Wait Time</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_2011105047_0" style="display: none;">
                <p>This environment variable allows the network administrator to set the 
 maximum queue wait time for the License Manager computer on which the variable 
 is set.</p>
                <p>For example, to tell the License Manager running on a Windows computer 
 to set the maximum queue wait time to 15 minutes (900 seconds), use the 
 following command: </p>
                <p class="code">SET LS_MAX_QWAIT_SEC=900</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_2011105047_1" onclick="FMCDropDown( this ); return false;" name="LS_MAX_Q2"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LS_MAX_QHOLD_SEC 
 - Set Maximum Hold Time</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_2011105047_1" style="display: none;">
                <p>This environment variable allows the network administrator to set the 
 maximum time that the License Manager will hold a license for a requester 
 once the license becomes available.</p>
                <p>For example, To tell the License Manager running on a Windows computer 
 to hold a license for 120 seconds for a user, use the following command: 
 </p>
                <p class="code">SET LS_MAX_QHOLD_SEC=120</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_2011105047_2" onclick="FMCDropDown( this ); return false;" name="LS_MAX_Q3"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LS_MAX_QLEN 
 - Set Maximum Queue Length</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_2011105047_2" style="display: none;">
                <p>This environment variable allows the network administrator to set the 
 maximum queue length for the License Manager computer on which the variable 
 is set. It can also override queuing preferences set in the application. 
 Here are its possible values:</p>
                <ul>
                    <li class="Bullets_1" value="1">If not set, then the 
 application dictates whether the user is placed in a queue. </li>
                    <li class="Bullets_1" value="2">Great than zero: specifies 
 the maximum number of users that can be in the queue. </li>
                    <li class="Bullets_1" value="3">Set to less than zero: 
 enables license queuing, even if the application’s default is not to place 
 the user in a queue. </li>
                    <li class="Bullets_1" value="4">Set to zero: disables 
 license queuing for this License Manager.</li>
                </ul>
                <p>For example, to tell the License Manager running on a Windows computer 
 to stop placing users in the queue when the queue has 15 users, use the 
 following command: </p>
                <p class="code">SET LS_MAX_QLEN=15</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_2011105047_3" onclick="FMCDropDown( this ); return false;" name="LS_MAX_G"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LS_MAX_GROUP_QLEN - Set Maximum Group Queue Length</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_2011105047_3" style="display: none;">
                <p>This environment variable allows the network administrator to set the 
 maximum queue length for the reservation group on the License Manager computer 
 on which the variable is set. It can also override queuing preferences 
 set in the application. Here are its possible values:</p>
                <ul>
                    <li class="Bullets_1" value="1">If not set, then the 
 application dictates whether the user is placed in the group queue.</li>
                    <li class="Bullets_1" value="2">Great than zero: specifies 
 the maximum number of users that can be in the group queue.</li>
                    <li class="Bullets_1" value="3">Set to less than zero: 
 enables license queuing, even if the application’s default is not to place 
 the user in a group queue. </li>
                    <li class="Bullets_1" value="4">Set to zero: disables 
 group license queuing for this License Manager.</li>
                </ul>
                <p>For example, to tell the License Manager running on a Windows computer 
 to stop placing users in the group queue when the queue has 15 users, 
 use the following command: </p>
                <p class="code">SET LS_MAX_GROUP_QLEN=15 </p>
            </div>
        </div>
        <p>&#160;</p>
        <script type="text/javascript" src="SkinSupport/MadCapBodyEnd.js">
        </script>
    </body>
</html>