Archived
This forum has been archived. Please start a new discussion on GitHub.
How to redirect the result of dumpdb?
in Help Center
Hi, I am using ICE in Windows, but I don't figure out how to redirect the result of dumpdb to a text file.
when I try the following line, it just shows the result on the console, and the reult can't be redirected as hoped.
dumpdb -I d:/iPlature/Ice/Ice-3.1.1/slice -I d:/ap/slice --key string --value PM::SeqBatchInfo --load d:/ap/slice/PM/BatchControl.ice \iPlature\db\node\servers\pm_batchcontrol batchinfo.map > aa.txt
I need help, thank you.
when I try the following line, it just shows the result on the console, and the reult can't be redirected as hoped.
dumpdb -I d:/iPlature/Ice/Ice-3.1.1/slice -I d:/ap/slice --key string --value PM::SeqBatchInfo --load d:/ap/slice/PM/BatchControl.ice \iPlature\db\node\servers\pm_batchcontrol batchinfo.map > aa.txt
I need help, thank you.
0
Comments
-
The output of dumpdb goes to stderr, not stdout. Therefore you should be able to do:
dumpdb -I d:/iPlature/Ice/Ice-3.1.1/slice -I d:/ap/slice --key string --value PM::SeqBatchInfo --load d:/ap/slice/PM/BatchControl.ice D:\iPlature\db\node\servers\pm_batchcontrol batchinfo.map 2> aa.txt
0 -
great, it works, thank you , Matthew.
by the way, I will talk with my manager about whether to renew the support contract, I think we really need it still. Thank u.0