Salesforce

How to load definitions into the database from within your application

Information

 
TitleHow to load definitions into the database from within your application
URL NameP103504
Article Number000111941
EnvironmentProduct: Progress
Version: 8.x, 9.x
Product: OpenEdge
Version: 10.x, 11.x
OS: All supported platforms
Question/Problem Description
How to load definitions into the database from within your application
Can the regular Dictionary and Admin tool load utilities be called from within your application?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
To load schema definitions into a database without using the regular dictionary or admin load utilities, run prodict/load_df.p.  This procedure takes one input parameter but it can contain multiple entries.  The entries are positional and must be in the correct order. 

If user wants to load new tables and sequences on-line and commit with errors than the parameter must have three entries, "<df file name>,<commit>,<session parameter>".  If not committing with errors but loading on line, there must be a blank entry between the first and third entry see example 2 below.

If user wants to commit even if there are errors in the df, they can pass in a string composed of two entries "<df file name>,yes".   

Else just the <df file name> is passed in.

Example: 
     Commit with errors and loading on-line = "sports.df,yes,NEW OBJECTS"
     Do not commit with errors and loading on line = "sports.df,,NEW OBJECTS"
     Just passing in file name "sports.df".
Workaround
Notes
Keyword Phrase
Last Modified Date9/13/2015 4:41 AM

Powered by