chg writeOutCmd() parameters