Running data macros with huge loops. Need merge data tables and does not like to create table a table(so there is
SQL WARNING, ... recursively reference...). The loop contains lots of merges like this. Surely I can create new tables,
BUT for speed and storage issue, prefer not to. But the LOG is choke of warning MSG like this.
Any one knows how to turn off. Thanks,
There is a post, similar to my problem. but no solution.
if you mean your log shows the warning:
"WARNING: This CREATE TABLE statement recursively references the target table. A consequence of this is a possible data integrity problem."
then the best way would be not to overwrite your datasets but to create new ones.
You can nevertheless add this option to your PROC SQL:
PROC SQL undo_policy=none;
<statements>
QUIT;
or specify the system option:
options SQLUNDOPOLICY=NONE;
- Cheers -
if you mean your log shows the warning:
"WARNING: This CREATE TABLE statement recursively references the target table. A consequence of this is a possible data integrity problem."
then the best way would be not to overwrite your datasets but to create new ones.
You can nevertheless add this option to your PROC SQL:
PROC SQL undo_policy=none;
<statements>
QUIT;
or specify the system option:
options SQLUNDOPOLICY=NONE;
- Cheers -
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.