Trying to dump table contents using Database administration

Posted by goo on 23-Apr-2018 15:29

11.7

Can anyone tell me how to dump the data using Dump table contents? I am getting an error

Dump Data Failed

Dump terminated

Where do I find more about the error? 

All Replies

Posted by cjbrandt on 23-Apr-2018 18:59

Look in the current working directory for a file ending in .e

Posted by goo on 25-Apr-2018 05:11

I found nothing.... I can see the first table is produced as a xxx.d but nothing else.

Posted by Kondra Mohan Raju on 25-Apr-2018 05:41

run below example program in procedure editor

RUN prodict/dump_d.p("customer", "c:/myDirectory","").

and the input param explained as below

   file-name                : "ALL" or "<file-name>"

   dot-d-dir                : directory relativ to working-directory

   code-page                : ?, "", "<code-page>"

Posted by rkumar on 25-Apr-2018 05:51

When the dump process ends, it pops up an information screen. What information do you get in this screen?

Can you also go to the GUI Procedure Editor->Help->Recent Messages and check the most recent error number there?

Posted by George Potemkin on 25-Apr-2018 07:33

Set SESSION:DEBUG-ALERT = TRUE.

> I am getting an error

Stack trace will point out to:

-> prodict/dump/_dmpdata.p at line 1802  (prodict/dump/_dmpdata.r)

You can see this procedure in $DLC/src/prodict.pl

DEFINE VARIABLE stopped     AS LOGICAL   NO-UNDO init true.
define variable xDumpTerminatedMsg as character no-undo init "Dump terminated.". IF stopped THEN MESSAGE xDumpTerminatedMsg. ELSE MESSAGE "Dump of database contents completed:" cntr "table(s) dumped successfully.".

Check the code before it sets "stopped" to "false".

Posted by goo on 25-Apr-2018 12:00

I don’t have a compiler on the server and that is the reason I try to do it with the management system. I belive I have to make a program that I compile with my dev system and run that on server, if there is no way I can do it with the management system?
 
//Geir Otto
 

This thread is closed