Consultor Eletrônico



Kbase P136335: Using ABL/4GL how can I tell if the DB I'm connected to is personal, workgroup or enterprise?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   06/02/2009
Status: Unverified

GOAL:

Using ABL/4GL how can I tell if the DB I'm connected to is personal, workgroup or enterprise?

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Product Family
OpenEdge Category: Language (4GL/ABL)

FIX:

There is no feature/function in 4GL that allows you to detect/display what license (personal, workgroup or enterprise) of Progress is installed.
However, this information is located in the progress.cfg file (in the Progress installation folder). Therefore, if you parse this file and search for specific strings (personal, workgroup or enterprise) you should be able to achieve the same result. It may be that the client machines do not have access to progress.cfg . To work around this, you can write a script that is executed locally on the DB Server. This script will look into the progress.cfg file for the license installed on the server, and output its result to a text file located in a folder that client logins have access to.