There is no reason to re-assign a variable to itself. Either this statement is redundant and should be removed, or the re-assignment is a mistake
and some other value or variable was intended for the assignment instead.
Noncompliant code example
SET NAME TO NAME. *> Noncompliant
MOVE NAME TO NAME. *> Noncompliant
COMPUTE NAME = NAME. *> Noncompliant
EXEC SQL
UPDATE PERSON
SET NAME = NAME -- Noncompliant
WHERE ID = :PERSON_ID
END-EXEC.
Compliant solution
SET NAME TO NEW_NAME.
MOVE NEW_NAME TO NAME.
COMPUTE NAME = NEW_NAME.
EXEC SQL
UPDATE PERSON
SET NAME = :NEW_NAME
WHERE ID = :PERSON_ID
END-EXEC.