Archived

This forum has been archived. Please start a new discussion on GitHub.

How to redirect the result of dumpdb?

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 D:\iPlature\db\node\servers\pm_batchcontrol batchinfo.map > aa.txt

I need help, thank you.

Comments

  • matthew
    matthew NL, Canada
    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
    
  • 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.