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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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