Consultor Eletrônico



Kbase 16309: Version 8.x Report Builder: Specifying a progress.ini File
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   13/04/2006
Status: Unverified

GOAL:

How to override the default Progress search for a (progress.ini) file by creating a parameter file that Progress reads as it starts up.

FACT(s) (Environment):

Progress 8.x

SYMPTOM(s):

Report Builder

FIX:

If you start Report Builder from the Report Builder icon in the Progress group, you can use the -ininame parameter. If you start a Report Builder session from inside a Progress session, the -ininame parameter you might have used when you started the Progress session is not used.

Instead, Progress follows the usual search rules to find progress.ini and use that. (Refer to Progress KBase Solution 12815, "How Progress Searches for the progress.ini").

You can create a parameter file that Report Builder reads as it starts up. The default name for this file is RBSTART.PF, and its default location is the DLC directory.

(You need to create this file. It is not already there after a
Progress installation.)

You can insert an -ininame parameter that specifies the location and name of the ini file you want Report Builder to use in the RBSTART.PF file.

NOTE: This works only if you do not have a file named
progress.ini in any of the directories where Progress normally
looks for one (your working directory, DLC\bin, or the Windows
directory).

You can have multiple versions of the Report Builder parameter file if you want.

For example, if different users want to use different .ini files
for Report Builder, each must use a different parameter file that
points to the correct .ini file.

To specify a file name other than RBSTART.PF to be used as the Report Builder parameter file, you must define an environment variable called (RBSTARTUP) that specifies the location and name of the parameter file to use. This environment variable (must) be defined at the operating system level (autoexec.bat).

An example of this process:

If you want to have Report Builder use an ini file called C:\REPT.INI and want to use a Report Builder parameter file called C:\MYREPT.PF to specify that, take the following steps:

1) Put this statement in their autoexec.bat:

SET RBSTARTUP = C:\MYREPT.PF

2) Create the file called C:\MYREPT.PF and put this line in it:

-ininame c:\rept.ini

3) Make sure there are no files called progress.ini in the working directory, the DLC\bin directory or the Windows directory.