BookmarkSubscribeRSS Feed
Banu
Obsidian | Level 7

Hi Team,

One of my job loading data from SAS to Teradata by using below syntax.
However job is running fine for few days back. Currently it is failing with below error message.

Please help me what would be the permanent solution for this issue.


CODE:
=======
data TD_TABLE(TPT=YES FASTLOAD=YES TPT_MAX_SESSIONS=4 SLEEP=5 TENACITY=4);

set SAS_TABLE;

run;

ERROR:
========
NOTE: Appending WORK.SAS_TABLE to TD_TABLE
NOTE: There were 1 observations read from the data set WORK.SAS_TABLE.
NOTE: 0 observations added.
NOTE: The data set TD_TABLE has . observations and 1 variables.
ERROR: Teradata connection:  Correct error and restart as an APPEND process with option TPT_RESTART=YES. Since no checkpoints were taken, if the previous run used FIRSTOBS=n, use the same value in the restart.


Please help me for permanent fix for this issue.

 

 

1 REPLY 1
LinusH
Tourmaline | Level 20
Well the message doesn't really tell what the actual error is. If this is not a temporary connection issue, I'll put a few cents that you are violating a Teradata constraint. Try
Options sastrace = ',,,d' sastraceloc = saslog nostsuffix;
which might give some info about what's going on in Teradata.
Data never sleeps

SAS Innovate 2025: Call for Content

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!

Submit your idea!

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
  • 1 reply
  • 701 views
  • 1 like
  • 2 in conversation