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

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.

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