BookmarkSubscribeRSS Feed
gearut
Calcite | Level 5

I have a question about how SAS reads TERADATA. Let us assume that all options in SAS/ACCESS are setup correctly

and file ABC  in TERADATA has one variable 'one' with type CHAR(3). Now let us assume that we are executing the following sas data step

set work.test;

attrib one length=$3;

set teradata.abc;

run;

I know that by default SAS will assign length 3 to variable 'one'. My question is: will SAS issue a warning if I reassign default length through attrib statement ?

Thanks !

1 REPLY 1
ArtC
Rhodochrosite | Level 12

I have not used the Teradata ACCESS, but with other instances there is no warning.  I would not expect one here.

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
  • 691 views
  • 0 likes
  • 2 in conversation