Home Help Center

How to redirect the result of dumpdb?

gstgst Member Shaoteng GongOrganization: BaosightProject: real process control system
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

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    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
    
  • gstgst Member Shaoteng GongOrganization: BaosightProject: real process control system
    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.
Sign In or Register to comment.