Search structure

When a user logs on, the bshell initializes the LN variables and resources. The search structure used to retrieve the values of the variables and resources depends on the operating system of the LN server.

The bshell uses this search order:

  1. The user’s Infor BW configuration or LN UI user profile.
  2. Any system-wide global environment variable defined at Operating System level.
  3. ${HOME}/bse_vars - UNIX and Linux only.
  4. Windows only: Global variable settings defined through the Enterprise Server Service Manager.
  5. ${BSE}/lib/bse_vars
  6. /usr/bse/bse_vars - UNIX and Linux only
  7. ${BSE}/lib/defaults/bootstrap - optional
  8. ${BSE}/lib/user/u<user> - user file
  9. ${BSE}/lib/defaults/<binary>
  10. ${BSE}/lib/defaults/db_resource
  11. ${BSE}/lib/defaults/all

Examples

  • A variable is defined in a user’s LN UI user profile, in /etc/profile, and in ${BSE}/lib/bse_vars .The LN UI user profile setting overrules the other settings.
  • 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.
  • A resource is set in ${BSE}/lib/defaults/db_resource. Users define the corresponding environment variable in their LN UI user profile. The LN UI user profile setting overrules the resource setting.