Feedback
Did this article resolve your question/issue?

   

Article

How to Dump and Load .df and .d without the Data Administration tool?

« Go Back

Information

 
TitleHow to Dump and Load .df and .d without the Data Administration tool?
URL Name14061
Article Number000118312
EnvironmentProduct: Progress, OpenEdge
Version: All supported versions
OS: All supported platforms
Question/Problem Description
How to Dump and load .df and .d from outside the Data Administration tool?
How to script a Dump and Load of schema definitions (.df) and record content (.d) 
Dumping and loading .df and .d from outside the Data Administration.
How to load table definitions without having to use the data administration tool
Can ABL/4GL tables fields and indexes be created without using the Data Dictionary?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
The Data Dictionary source code that Progress supplies to the customers can be used to dump or load data without having to use the Data Dictionary. This can be used to automate or script a dump and load.
 
The source code for Progress 6 is located in: /dlc/prodict.
The source code for Progress 7 and Progress 8 is located in: /dlc/src/prodict.
The source code for Progress 9 and OpenEdge 10,11,12 is in: /dlc/src/prodict in a Procedure Library file (.pl), which is in the PROPATH variable by default. To get the source code, these files need to be extracted. Progress does not provide support for the modification and/or use of these modules outside of the Data Dictionary. Refer to Article: How to extract source codes of data dictionary   
 
Data Dictionary source source code files:
  • dump_d.p - Dump table contents
  • dump_df.p - Dump table definitions
  • dump_fd.p - Dump bulkloader description file
  • load_d.p - Load table contents
  • load_df.p - Load table definitions
 Examples: Parameters required by the programs are documented at the top of each program.

To load application schema definitions:
RUN prodict/load_df.p (INPUT tablename.df).

To load each table's record content:
RUN prodict/load_d.p (INPUT tablename.d, INPUT loadpath).
 
For further details, refer to Article: How to programmatically dump and load database definitions (.df's) and data (.d's) files using Data Administration routines ?   
 
Workaround
Notes
Last Modified Date4/9/2021 3:23 PM
Attachment 
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.