How to connect to open edge data base using .pf file?

261 Views Asked by At

I'm new to open edge progress ABL. How to connect to the open edge database using .pf file

2

There are 2 best solutions below

2
Mike Fechner On BEST ANSWER

The PF file is a simple text file with all relevant database connection parameters, e.g.

-db c:\full\path\to\database

or

-db databasename (no .db)
-H hostname or IP address
-S portnumber or portname 

Then you start the client with

prowin -pf pffile.pf
prowin32 -pf pffile.pf
_progres -pf pffile.pf
0
Tom Bascom On

Create a .pf file, I am calling it connect.pf, containing something similar to:

# connect to db using a .pf file
-db dbname

along with any other startup parameters that you might desire and then reference the .pf file on your command line or in the properties of your shortcut:

mpro -pf connect.pf