Salesforce

How to load data into a database from your application.

« Go Back

Information

 
TitleHow to load data into a database from your application.
URL NameP103505
Article Number000111940
EnvironmentProduct: Progress
Version: 8.x, 9.x
Product: OpenEdge
Version: 10.x, 11.x
OS: All supported platforms
Question/Problem Description
How to load data into a database from your application.
Can I use the .d generated from the dump data utility from within my application?
Can a .d file be loaded without using the load data utility?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
There is a procedure, prodict/load_d.p, which can be run which will call the regular load utilities for loading in a .d file from within your application.  This procedure takes 2 INPUT parameters:  The file name(s) for the tables to be loaded and the name of the directory where the .d’s reside.  The format for the parameters is as follows:
     file name:     "ALL" or "<file-name> [,<filename>] ..."
     directory:     Name of the directory where .d files are

Syntax Examples:
     Load all tables:
          RUN prodict/load_d.p (INPUT “ALL”, INPUT “c:/data/”).   

          Load two tables
          RUN prodict/load_d.p (INPUT “customer,order”,
                                                INPUT “c:/data/”       
Workaround
Notes
Keyword Phrase
Last Modified Date9/13/2015 4:41 AM

Powered by