BookmarkSubscribeRSS Feed
RobertWF1
Quartz | Level 8

I’m trying to upload a SAS table to Redshift using the following simple command:

 

data rf.rsv_standing_cohort;
set epi.rsv_standing_cohort;
run;

where the “epi” library is on my local server and the “rf” library refers to my Redshift schema.

 

However, I’m getting the following error – part of my table is not being uploaded (original table size is 35,392 records). 

 

Any ideas why the table upload is incomplete?

 

NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
ERROR: CLI execute error: [SAS][ODBC Redshift Wire Protocol driver]This is either an Unknown Type or is not supported currently.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 32750 observations read from the data set EPI.RSV_STANDING_COHORT.
WARNING: The data set RF.RSV_STANDING_COHORT may be incomplete.  When this step was stopped there were 32749 observations and 9 variables.
ERROR: ROLLBACK issued due to errors for data set RF.RSV_STANDING_COHORT.DATA.
NOTE: DATA statement used (Total process time):
       real time           1:35.32
       cpu time            0.09 seconds

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 0 replies
  • 58 views
  • 0 likes
  • 1 in conversation