<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/onlinemanual/var_resource_search_structure" xml:lang="en" UserLevel="Expert">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Search Structure</Title>
		<Keyword ContextSensitive="No"><Level1>Variables</Level1>
			<Level2>search structure</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Resources</Level1>
			<Level2>search structure</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph class="Default">When a user logs on, the bshell initializes the ERP LN variables and resources. The search structure used to retrieve the values of the variables and resources depends on the operating system of the ERP LN server.</Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>UNIX/Linux</SectionTitle>
		<ProcedureList><ListIntro>On UNIX/Linux systems, the bshell uses the following search order:</ListIntro>
			<ListItem>The user’s Infor BW configuration or WebTop user profile</ListItem>
			<ListItem>/etc/profile</ListItem>
			<ListItem>${HOME}/bse_vars</ListItem>
			<ListItem>${BSE}/lib/bse_vars</ListItem>
			<ListItem>/usr/bse/bse_vars</ListItem>
			<ListItem>${BSE}/lib/user/u&lt;user&gt; (user file)</ListItem>
			<ListItem>${BSE}/lib/defaults/&lt;binary&gt;</ListItem>
			<ListItem>${BSE}/lib/defaults/db_resource</ListItem>
			<ListItem>${BSE}/lib/defaults/all</ListItem>
		</ProcedureList>
		<List><ListIntro>Examples:</ListIntro>
			<ListItem>A variable is defined in a user’s WebTop user profile, in /etc/profile, and in ${BSE}/lib/bse_vars .The WebTop user profile setting overrules the other settings.</ListItem>
			<ListItem>A resource is set in ${BSE}/lib/defaults/db_resource and in ${BSE}/lib/defaults/all/. The setting in ${BSE}/lib/defaults/db_resource takes precedence.</ListItem>
			<ListItem>A resource is set in ${BSE}/lib/defaults/db_resource. A user defines the corresponding environment variable in his WebTop user profile. The WebTop user profile setting overrules the resource setting.</ListItem>
		</List>
	</GeneralSection>
	<GeneralSection><SectionTitle>Windows</SectionTitle>
		<ProcedureList><ListIntro>On Windows systems, the bshell uses the following search order:</ListIntro>
			<ListItem>The user’s Infor BW configuration or WebTop user profile</ListItem>
			<ListItem>Global Windows environment variable settings, defined in the <GUIRef href="" role="manual">Environment Variables</GUIRef> dialog.</ListItem>
			<ListItem>Global variable settings defined through the Enterprise Server Service Manager.</ListItem>
			<ListItem>${BSE}/lib/user/u&lt;user&gt; (user file)</ListItem>
			<ListItem>${BSE}/lib/defaults/&lt;binary&gt;</ListItem>
			<ListItem>${BSE}/lib/defaults/db_resource</ListItem>
			<ListItem>${BSE}/lib/defaults/all</ListItem>
		</ProcedureList>
		<List><ListIntro>Examples:</ListIntro>
			<ListItem>A variable is set in the user’s WebTop user profile and in the Enterprise Server Service Manager. The WebTop user profile setting takes precedence.</ListItem>
			<ListItem>A variable is set in the <GUIRef href="" role="manual">Environment Variables</GUIRef> dialog and in the Enterprise Server Service Manager. The setting defined in the <GUIRef href="" role="manual">Environment Variables</GUIRef> dialog takes precedence.</ListItem>
		</List>
	</GeneralSection>
</ManualTopic>
