A FOR or WHILE clause within a command does not contain a logical expression. For more information, see Creating Logical Expressions.