If you have a job,—do devote—yourself to it and finally you will succeed.

问题描述:

If you have a job,—do devote—yourself to it and finally you will succeed.
老师说如果是用devoting的话分词作状语,这个句子就没有谓语动词了.难道have不是谓语动词吗?

用devoting 时devotingyourself to it就是做状语 而you will succeed 做主句,ifyouhavea job 是从句?明白吗