If you need to change the Job Attributes AND change the queue in a single command, it will fail
% qalter -l walltime=12:00:00 -q myOldQueue JobID
Step 1: Change the Attribute like walltime
% qalter -l walltime=06:00:00 jobid
Step 2: Move the to a new Queue
% qmove myNewQueue JobID