0

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

Tom Bascom
  • 13,405
  • 2
  • 27
  • 33
Naruhina
  • 53
  • 4

2 Answers2

2

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
Mike Fechner
  • 6,627
  • 15
  • 17
  • Could you please tell me is there a way to get '.r' file from GUI Procedure editor or app builder and not from developer studio – Naruhina Dec 08 '22 at 15:11
  • You have received two answers to your separate question: https://stackoverflow.com/questions/74733273/how-to-get-r-file-without-open-edge-developer-studio/74733586#74733586 - don't use a single thread to ask more than one question. – Mike Fechner Dec 08 '22 at 16:44
2

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
Tom Bascom
  • 13,405
  • 2
  • 27
  • 33