<?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>Stand-alone Application Use of Environment Variables</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#Standalone_Application_EnvVariables.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 Stand-alone Applications</span>
        </div>
        <h1><a name="kanchor49"></a>For Stand-alone Applications</h1>
        <p>When running in stand-alone mode, the License Manager code that is part 
 of the application can be configured using most of the environment variables. 
 These variables are used in the same way as they would be with a network 
 License Manager. Those variables which are only appropriate for a network 
 configuration are ignored by the stand-alone application. The differences 
 between the use of these variables in stand-alone and network mode is 
 described below.</p>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_1474153710_0" onclick="FMCDropDown( this ); return false;" name="LSERVRC"><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" />LSERVRC - Set the License Code File</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_1474153710_0" style="display: none;">
                <p>This variable can be used to specify the file that is used to store 
 the stand-alone license codes used by the application.</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_1474153710_1" onclick="FMCDropDown( this ); return false;" name="LSDEFAUL"><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" />LSDEFAULTDIR - Set the Default Location of License Management Files</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_1474153710_1" style="display: none;">
                <p>This variable can be used to set the default location of the license 
 code and log files.</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_1474153710_2" onclick="FMCDropDown( this ); return false;" name="LSFORCEH"><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" />LSFORCEHOST - Disable a Network License</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_1474153710_2" style="display: none;">
                <p>Your application may have been built to support both stand-alone and 
 network licensing. If it includes this capability then it will first try 
 to obtain a stand-alone license using the License Manager capability that 
 is built into the application. If unsuccessful then the application will 
 try to obtain a network license by communicating with a License Manager 
 located somewhere on the same subnet. You can disable the network broadcast 
 by setting LSHOST to NO-NET. With this setting, the application only looks 
 for a stand-alone license code.</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_1474153710_3" onclick="FMCDropDown( this ); return false;" name="LSERVOPT"><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" />LSERVOPTS - Set Application License Management Options</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_1474153710_3" style="display: none;">
                <p>This variable can be set to configure the application license management 
 options in a way that is similar to its use on a server computer to configure 
 a License Manager. It’s recommended that the -z 
 and -x options be used to control the size of the usage file if logging 
 has been enabled. The -u and -q 
 options aren’t 
 meaningful in a stand-alone configuration and shouldn’t 
 be used. The remaining options are better set using a specific environment 
 variable.</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_1474153710_4" onclick="FMCDropDown( this ); return false;" name="LSERVRCC"><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" />LSERVRCCNF - Set the Application License Management Configuration File</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_1474153710_4" style="display: none;">
                <p>This variable can be used to specify the configuration file that is 
 used with the stand-alone application.</p>
                <p class="SFNT_Note">The LSPORT 
 and the license queuing environment variables are only meaningful when 
 used with a License Manager.</p>
            </div>
        </div>
        <p>&#160;</p>
        <script type="text/javascript" src="SkinSupport/MadCapBodyEnd.js">
        </script>
    </body>
</html>