Quick connect to AIX from Win32 Progress?

orjazmik

New Member
I really like using the procedure editor that come with the Win32 version of progress because of some of it's automatic formatting and color-coding. The problem is that our Progress DB is running on our AIX server. So if I want to use the Win32 procedure editor, but still want to check my syntax/table names/field names/etc against the DB, I have to go through this whole rigamarole in the data administrator in order to connect to the DB first every time. Is there some way that I can create a faster way to get connected to my DB... maybe with a .pf or something? So I can expidite the process of connecting to my DB? :confused:
Thanks in advance...

- Marshall
 
Hi Marshall,

What you want is a windows shortcut that gives you a progress desktop that is already connected to the database.

Shortcut:
Code:
%DLC%\bin\prowin32.exe  -T c:\temp -pf mydb.pf -p  _desk.p

mydb.pf
Code:
-db mydbname -H aixhost -N TCP -S servname


From the progress desktop you can the click straight to the editor, dictionary, data administration, etc.

Simon
 
Cool!

That's an awesome idea! Where does the pf file need to be located for this to work? I have it in %DLC%\bin, but it tells me it can't open the pf file? Thanks again for all your help. :D

- Marshall
 
You should really keep you own files out of the progress directories, that way if you upgrade or re-install progress you won't loose them.

Use the "start in" option on your shortcut to fire progress up in a directory of your choice eg "c:\src\myapp" and then the pf file can go in there. You can also specify the pf file with a full path name if you like, but relative pathnames will be to the start in directory:
Code:
%DLC%\bin\prowin32.exe  -T c:\temp -pf c:\src\myapp\pf\mydb.pf -p  _desk.p
Another good idea is to copy %DLC%/bin/progress.ini to your own directory and edit the propath to include the directories you want to store your source and .i file in. You can the start progress and have your propath configured as well:
Code:
]%DLC%\bin\prowin32.exe  -basekey ini -ininame .\pf\progress.ini -T c:\temp -pf .\pf\mydb.pf -p _desk.p
Hope this gets you started.

Simon
 
Back
Top