dmcnally
1st April 2013, 22:40
Executing the command below

./bdbpre6.1 -I /u08/baan4/bse/dumps/dump100.dmp -E /u08/baan4/bse/dumps/dump.err -C 100 -p B4Lc4prd -t "|" -o /u08/baan4/bse/tmp/arch100.dmp

getting error like that below

Table RowCount Messages
----------- -------- ----------------------------
cpcom000100 Can't create dump : error 0
cprpd000100 Can't create dump : error 0
pspmg000100 Can't create dump : error 0
tccom001100 Can't create dump : error 0

My file dump100.dmp is simply a list of table names like:

cpcom000
cprpd000
pspmg000
tccom001
tccom999
tcedi000
tcmcs000
tcmcs001
tcmcs002
tcmcs003


Do I need to include row counts ? I tried it as user root and bsp
and got the same result. I think my permissions are ok.

I am archiving and trying to create a dump of the parameter/master files to load into the archive company.

Does anyone know what would cause this error?

Thanks,

Dave

bhushanchanda
2nd April 2013, 05:53
Executing the command below

./bdbpre6.1 -I /u08/baan4/bse/dumps/dump100.dmp -E /u08/baan4/bse/dumps/dump.err -C 100 -p B4Lc4prd -t "|" -o /u08/baan4/bse/tmp/arch100.dmp

getting error like that below

Table RowCount Messages
----------- -------- ----------------------------
cpcom000100 Can't create dump : error 0
cprpd000100 Can't create dump : error 0
pspmg000100 Can't create dump : error 0
tccom001100 Can't create dump : error 0

My file dump100.dmp is simply a list of table names like:

cpcom000
cprpd000
pspmg000
tccom001
tccom999
tcedi000
tcmcs000
tcmcs001
tcmcs002
tcmcs003


Do I need to include row counts ? I tried it as user root and bsp
and got the same result. I think my permissions are ok.

I am archiving and trying to create a dump of the parameter/master files to load into the archive company.

Does anyone know what would cause this error?

Thanks,

Dave


For taking sequential dumps, use standard sessions. Check your $BSE/log/log.bdbpre6.1

Also check these :-

http://www.baanboard.com/baanboard/showthread.php?t=42602

Mario
2nd April 2013, 14:49
Hi Dave,

-o is directory to create .S files. Is achr100.dmp a directory? (see bdbpre6.1 -U).

Regards, Mario

dmcnally
2nd April 2013, 14:54
Bhushanchanda,

Thanks for the reply. I was able to get it to work.
I moved my file list (dump100.dmp) to the $BSE/bin directory where the bdbpre6.1 command resides , because the error indicated that the file could not be found even though I had specified the full path. Also for the -o option I had to specify a directory (/u08/baan4/bse/dumps) and not an individual file which I was doing earlier. This produced 89 dump files in the /u08/baan4/bse/dumps directory. I was hoping for one large dump file, oh well.

The command I used is below. I executed it as user bsp from the $BSE/bin directory.

./bdbpre6.1 -I ./dumplist -E /u08/baan4/bse/dumps/dump.err -C 100 -p B4Lc4prd -t "|" -o /u08/baan4/bse/dumps

Best Regards,

Dave

dmcnally
2nd April 2013, 15:07
Hi Mario,

Thanks for the, info. I didn't realize the -o was to specify a directory as
opposed to a file. The log.bdbpre6.1 actually contained an error message that indicated just that (see below). After using a directory name it worked.

Best Regards,

Dave

2013-04-02[08:39:12]:E:bsp: ******* S T A R T of Error message *******
2013-04-02[08:39:12]:E:bsp: Log message called from /BAAN/view/port.6.1c.15/vobs/tt/bdb_tools/bdb_bdbpre.c: #508 keyword:
2013-04-02[08:39:12]:E:bsp: Pid 5636154 Uid 125 Euid 125 Gid 125 Egid 125
2013-04-02[08:39:12]:E:bsp: user_type S language 2 user_name bsp tty 1 locale ISO88591/NULL
2013-04-02[08:39:12]:E:bsp: Errno 20 (A parameter must be a directory.) bdb_errno 0
2013-04-02[08:39:12]:E:bsp: Log_mesg: Can't create dump (error 0)
2013-04-02[08:39:12]:E:bsp: ******* E N D of Error message *******