raikar_raviraj
21st December 2006, 05:53
Hi,

I wanted to take the sequential dump of the table using the bdbpre command (windows 2003 OS). Using session it works perfectly fine but when i try to use the above command in command propmpt i.e under ${BSE} directory, it does create a file but the file doesnt contain any data.

Can any one tell me what could be the problem?

I have used the following command..

${BSE}\> bdbpre.exe -N tccom010 -c 550 > dump_550.S

NirajKakodkar
21st December 2006, 08:51
HI Ravi ,

What I observed is

${BSE}\> bdbpre.exe -N tccom010 -c 550 > dump_550.S

In your above program the command bdpre.exe -N tccom010 -c 550 is not executing at all only thing which is getting executed is > dump_550.S
which is why a empty file by name dump_550.S is generated

Now why the bdpre command not getting executed , may be because of some permission issues .

Regards,
Niraj

norwim
21st December 2006, 09:58
Hi there,

{$BSE}\ ..... mkay ... your directory

> ?????? typo ?????? (the ">" after pathname)

bdbpre.exe ... mkay, if thats what it's called on M$ systems

-N tccom010 ... mkay, its customers you want

-c 550 ... hold your horses!!! Because the most important information for poor old bdbpre-program is missing!!!
Which data dictionary has to be applied?

-p Package Combination has to be specified before the company

(If it is not specified, the package combination assigned to the user should be used as default.)

But I agree with raikar_raviraj that there is another problem, as using the wrong package combination should normally at least create some data garbage.

What happens if you say bdbpre.exe -U ??

Also you may what to use -E FILENAME , which should write errors or status information to a file called FILENAME.

good luck

Norbert