BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
MattiL
Calcite | Level 5

Hi,

 

Could someone help me with DB2 issue

 

I get the following error message when i try to execute a delete statement in proc sql;

 

ERROR: Updating or deleting data cannot be supported by this engine when a WHERE clause and the DBCOMMIT option are used together.

 

DBCOMMIT is by default: DBCOMMIT=10000

 

I tried to write a new libname statement without specifying commit point but still got the same error.

 

Anyone have an idea how to be able to execute the proc sql delete statement to db2?

 

br

Matti 

1 ACCEPTED SOLUTION

Accepted Solutions
LinusH
Tourmaline | Level 20

Have you tried to specify 0?

Data never sleeps

View solution in original post

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

Any log report of your attempts that we could see ?

LinusH
Tourmaline | Level 20

Have you tried to specify 0?

Data never sleeps

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1475 views
  • 0 likes
  • 3 in conversation