Question

I am trying to get a CSV dump from a Progress / OpenEdge 10.1b database. This was a database for Intergy EHR so the version of openEdge that shipped with the application is run-time only. I can't compile dump scripts or use Data Adminstration tool on the server to export. I've got a raw copy of all the data files / structure files. Can I extract this data with the evaluation kit version 11? Oh.. I've already contacted Progress software to try and buy a full license for 10.1b and they are just giving me the run around. Does anyone know another solution?

Thank You

Was it helpful?

Solution

Short of having a developer client for the program, the options I see are:

1) Connect to the 10.1B db from your 11.0 eval kit using a TCP connection, then write some code to export table CSV like so:

FOR EACH table-name NO-LOCK: 
   EXPORT DELIMITER "," table-name.
END.

2) get someone to write a CSV exporter for your 10.1B system,

3) dump all your 10.1B data, then load it into an 11.0 DB and then export from that

OTHER TIPS

If you can get to the data dictionary you can export the data as text (Admin -> Export Data -> Text..). One of the export options is to specify a delimiter. The default is a comma.

You may need to specify the -rx or -rq client connection parameter to get to the data dictionary with a runtime license. You get different options with the different parameters.

I would use the provided utility sqldump to do this. It will dump out the table you want direct to a CSV file suffixed with .dsql. Works on all platforms. The table parameter works with wildcards so you can select to dump out all tables at once (change the PUB.ABCCode to PUB.% in example below.

In my testing this is 80% faster than using EXPORT command in 4GL code.

c:\program files\epicor\>sqldump -u XXXX -a XXXX -t PUB.ABCCode progress:T:l

ocalhost:9450:mfgsys

OpenEdge Release 10.2A0329  as of Thu Apr 19 10:02:30 EDT 2012

Table      : PUB.ABCCode
Dump file  : PUB.ABCCode.dsql

Dumped 10 Records, 1647 bytes, 1 seconds.

Dumped 1 Tables

c:\program files\epicor\>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top