Sorry, Majd, you can't do that in one run, though you could modify the rule file to use variables and write a shell script to kick off both with one invocation. (You need the variables so that the flat and hierarchical runs aren't trying to write to the same database.)
Here are some examples of how to modify from some setups I use.
* For the shell script, declare your shell, set your CALIBRE_HOME to your release, and any other environment variables:
#! /bin/csh
setenv CALIBRE_HOME /to/your/network/path
setenv FLAT "flat_run"
setenv RESULT_LAYOUT "./${FLAT}/result.oas"
setenv DRC_RDB "./${FLAT}/drc_results.rdb"
setenv SUM_RPT "./${FLAT}/summary.rep"
setenv LOG_FILE "./${FLAT}/flatrun.log"
...
$CALIBRE_HOME/bin/calibre -drc ... > $LOG_FILE
# Now reset the variables; can just change the directory name and copy the first set of lines again.
setenv FLAT "hier_run"
setenv RESULT_LAYOUT "./${FLAT}/result.oas"
...
$CALIBRE_HOME/bin/calibre -drc -hier > $LOG_FILE
* For the SVRF file, substitute the variable for the appropriate name. For instance, change
DRC RESULTS DATABASE "./the_original_name.rdb" OASIS
to
DRC RESULTS DATABASE "$RESULT_LAYOUT" OASIS
Don't forget to back up your original files before starting the conversion.
Good luck-
Sam.