Server Reference Guide : Loadnrun : How to Run Applications Using the w4glapp loadnrun Utility
 
Share this page                  
How to Run Applications Using the w4glapp loadnrun Utility
W4glapp.exe loadnrun is a dynamically linked utility that you can use to launch and run OpenROAD 4GL image files. Its functionality is similar to that provided by w4gldev.exe runimage.
The following files are needed to run a 4GL image file:
w4glapp.exe
orrun.dll
msvcr71.dll (or msvcr10.dll for Loadnrun 62)
orrso.dll
orps.dll
Note:  This is a fully functional OpenROAD runtime that can detect and use an existing Ingres Client interface to communicate with an Ingres RDBMS Server, Enterprise Access Server, Vector Server or Ingres Star Server. This utility has no dependencies on orrun.dll.
You should set the following environment variables in your OS environment. If you do not set these variables, w4glapp.exe might fail, for example, when it is located in a read-only directory and II_LOG and II_TEMPORARY are not set. For complete information, see the appendix Environment Variables in the Workbench User Guide.
II_CHARSET
Specifies the name of a character set file used for string operations.
Default: the default internal character set
II_DATE_FORMAT
Specifies the date format for DATE values retrieved by a database access. This is different from the display formatting you can use to show DATE values in a form. It is defined installation-wide.
If set, it replaces the default format (the US setting) with an alternative format.
Default: US
II_LOG
Specifies the location for the OpenROAD log files (including w4gl.log).
On Windows, OpenROAD shortcuts are launched using orwrap.exe, a utility that automatically sets OR_LOG at the process level to the appropriate location unique for the Ingres instance in which OpenROAD is installed.
OpenROAD needs a location that the user has write access to for the II_LOG location. In an Ingres environment, the default location for II_LOG may not allow the user write access.
If II_LOG is not specified, %II_SYSTEM%\ingres\files (for Windows) or $II_SYSTEM/ingres/files (for UNIX) is used.
II_SYSTEM
Specifies the location that is the parent directory of your OpenROAD installation (and ingres directory) where many components of your installation are located. This environment variable is usually set during the installation process and must not be changed.
II_TEMPORARY
Specifies the path name of a directory that OpenROAD uses to store temporary files. If not specified, by default, OpenROAD creates these files in the user’s current directory. II_TEMPORARY can be redefined installation-wide or locally.
II_TIMEZONE_NAME
The II_TIMEZONE_NAME parameter defines the operating system time zone for the installation. This parameter tells what adjustments to make for Daylight Savings Time.
Defaults:
Windows: NA-EASTERN
UNIX: NA-PACIFIC
For a listing of world regions and time zone names, in the Ingres Installation Guide, see Time Zone Names.