We're trying to set up PROIV to use both PostgreSQL and C-ISAM, however when the CONNECTION variable is set in proi4.ini the PRODATA environment variable seems to be ignored.
With CONNECTION set as below we can use the SQL database but when we create new C-ISAM files they are created in the user's current working directory and not in PRODATA. Also PROIV does not find our existing C-ISAM files as it only looks in the current working directory.
Any ideas why PRODATA is being ignored in this case?
-phil
pro4.ini
--------------
[DATABASE - SQLDEFAULT]
FILETYPE=POSTGRES
CONNECTION=odbcname/mypassword/mydatabase
myenv.ini
--------------
[Environment]
PROPATH=/home/proiv/dev/prg
PRODATA=/home/proiv/dev/data
PROTEMP=/home/proiv/install/temp
INFORMIXDIR=/home/proiv/install/gls
PRORUNTYPE=RUN
PROTERM=DECVT100

SQL and C-ISAM access
Started by
blofeld
, May 08 2006 12:09 PM
5 replies to this topic
#4
Posted 14 May 2006 - 08:41 PM
Have you try set linux environment variables insted of declare them in the pro4.ini file?
$export PROPATH=/home/proiv/dev/prg
$export PRODATA=/home/proiv/dev/data
$export PROTEMP=/home/proiv/install/temp
$export INFORMIXDIR=/home/proiv/install/gls
$export PRORUNTYPE=RUN
$export PROTERM=DECVT100
$export PROPATH=/home/proiv/dev/prg
$export PRODATA=/home/proiv/dev/data
$export PROTEMP=/home/proiv/install/temp
$export INFORMIXDIR=/home/proiv/install/gls
$export PRORUNTYPE=RUN
$export PROTERM=DECVT100
#5
Posted 15 May 2006 - 04:22 AM
Yes, we have have the linux environmental variables set in the user's .bash_profile
export PRORUNTYPE=DEV
export PROPATH=/home/proiv/dev/prg
export PRODATA=/home/proiv/dev/data
export PROTEMP=/home/proiv/install/temp
export PROIVOPR=MDC
export GUI=Y
export PROTERM=GUIDEV
export INFORMIXDIR=/home/proiv/install/gls
export PRORUNTYPE=DEV
export PROPATH=/home/proiv/dev/prg
export PRODATA=/home/proiv/dev/data
export PROTEMP=/home/proiv/install/temp
export PROIVOPR=MDC
export GUI=Y
export PROTERM=GUIDEV
export INFORMIXDIR=/home/proiv/install/gls
Reply to this topic

0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users