Naruhina
Naruhina

Reputation: 43

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

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

Upvotes: 0

Views: 469

Answers (2)

Tom Bascom
Tom Bascom

Reputation: 14020

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

Upvotes: 2

Mike Fechner
Mike Fechner

Reputation: 7192

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

Upvotes: 2

Related Questions