added statcode command and updated help for tqstat