BookmarkSubscribeRSS Feed
VVDR
Obsidian | Level 7

Hi Team,

Good day.

I am facing some CLI error while I am trying to execute any action on SAS tables that are refreshed from Redshift. 

I followed the below steps to replicate.

  • I have executed SAS Libname statement to get the data into SAS from Redshfit. This is working fine.
  • I am able to see all the tables/vies in SAS library.
  • I am not able to perform any action on those tables/view

Ex:

Proc Sql;

      Select count(*) from Test.RTab;

quit;

ERROR: CLI describe error: ERROR: prepared statement "_PLAN0x7f295c000f50" already exists; No query has been executed with that
handle

 

Please help me with the solution.

 

Regards

VVDR 

 

1 REPLY 1
SASKiwi
PROC Star

I'd suggest opening a track with SAS Tech Support on this if you haven't done so already. I searched SAS Notes and couldn't find anything relevant.

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

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
  • 1 reply
  • 837 views
  • 0 likes
  • 2 in conversation