Not exactly use what this error is suppose to mean. Is it possible to turn on the VERBOSE option to get more details?
What code generated the error?
If this is from the FedSQL prepare it may be that you are attempting to update a data source where you do not have the correct permissions.
Just guessing from the "access violation".
Or possibly a spelling error?
It's generated when trying to insert into a FEDSQL table. Are there any debugging options to see where this is going wrong?
Also this problem only arises when I use PROC DS2 packages.
If you search the SAS Support site for access violations:
https://support.sas.com/en/search.htm.html?q=access%20violation
You will get around 1,769 hits. In other words this is generic error that can be caused by badly-behaving software across the whole breadth of the SAS product range.
At the very least provide a SAS log of both the code and the errors. Also if possible provide your code separately plus some test data that will reproduce the error so that others can try it.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.