BookmarkSubscribeRSS Feed
Scottcom4
Calcite | Level 5
Hi All,

Is there a system option which will give me more meaningful error messages in EG than the below?

ERROR: Prepare error: ICommandPrepare::Prepare failed.
SQL statement: SELECT C.CLAIMID , C.CLAIMNUMBER , AI.DESCRIPTION , AI.ESTIMATEAMOUNT FROM CBMRV_ASSESSMENTITEM AI , CBMRV_INCIDENT
I , CBMRV_CLAIM C , CBMRVL_REFERENCELISTS VC , CBMRVL_REFERENCELISTS AA WHERE C.CLAIMID = I.CLAIMID AND I.INCIDENTID =
AI.INCIDENTID ORDER BY C.CLAIMID VC.DESCRIPTION.

Thank you for your help.
2 REPLIES 2
LinusH
Tourmaline | Level 20
You probably should open a track on SAS support for this.
There are a number of usage notes that describes different kind of prepare errors.
I'm not sure if you can get any more information than this. If your data resides in an external RDBMS, you could try the sastrace global option, see on-line doc for details.
/Linus
Data never sleeps
Peter_C
Rhodochrosite | Level 12
surprising to see no FROM in the generated syntax

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1279 views
  • 0 likes
  • 3 in conversation