...
The first job is submitted normally. If the second job is submitted with a --waitfor option, it will be submitted in the blocked state. When the first job finishes, it will unblock and run.
Examples Example (waitfor)
% qbsub --name jobA sleep 60
(this creates job 220)
% qbsub --name jobB --waitfor 220 sleep 60
Examples Example (dependency)
% qbsub --name jobA sleep 60
(this creates job 220)
% qbsub --name jobB --dependency link-complete-job-220 sleep 60
...