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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 935 views
  • 0 likes
  • 2 in conversation