Prodict/Load_DF.p does not work 10.2A

Hello,
I am using
def var pc-file as char. /* => filename (...df) */
RUN prodict/load_df.p (pc-file).
In Progress 9.1 E it worked well.
Now in OE 10.2A I have the problem that the database changes
were not made. Bút ERROR-STATUS:GET-NUMBER(1) = 0, so I don't have an error?
Has anyone an idea?
Best regards Matthias
 
The call to load_df.p looks fine to me. I've used that syntax successfully with 10.2A.

I think you may have some other problem -- was a dbname.e file created? Or perhaps the .df file is missing, named incorrectly or contains invalid commands?
 
If you're running this on a run-time client, bear in mind that the load_df.p is now in a procedure library and not in the %DLC%/prodict directory. I ran into this when I jumped from version 8 to 10.
 
It also works for me.

Notes I have on what I need to do to make sure it works:
1. Only one database must be connected (I guess you could make sure the database you want to change is the first connected database or set dictdb, but to make sure I would only connect the database I want to change)
2. You should have run an extractpl prodict and extractpl adecomm in your $DLC/src directory to extract the files needed to run this program.
3. Make sure the $DLC/src directory is in your propath environment variable before running the program.

Then I "run prodict/load_df.p(fulldfpath)."
 
You don't actually need to pull it out of the .pl unless you want to look at the code for some reason. By default it is in the PROPATH and will run when called.

IMHO the real problem has got to be either a bad name or bad format for the .df file.
 
Back
Top