Desktop productivity for business analysts and programmers

error while target table from source with proc sql

Reply
Occasional Contributor
Posts: 5

error while target table from source with proc sql

 

 

ERROR: You cannot reopen WORK.TEST.DATA for update access with member-level control because WORK.TEST.DATA is in use by you in
resource environment SQL (2).
ERROR: PROC SQL could not undo this statement if an ERROR were to happen as it could not obtain exclusive access to the data set.
This statement will not execute as the SQL option UNDO_POLICY=REQUIRED is in effect.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.

Esteemed Advisor
Posts: 5,391

Re: error while target table from source with proc sql

Posted in reply to akash_wankh

Usually happens when a subquery references the same table that you are trying to update.

PG
Ask a Question
Discussion stats
  • 1 reply
  • 149 views
  • 0 likes
  • 2 in conversation