BookmarkSubscribeRSS Feed
Candice_
Calcite | Level 5

How many types of data can be imported directly into SAS?

2 REPLIES 2
Shmuel
Garnet | Level 18

SAS uses two types only - CHAR type and NUM type

CHAR is any alphanumeric string.number, 

NUM type is held as floating point even integers.

 

INFORMAT defines how to read and interpret the data, and which type to assign to the variable.

FORMAT defines how to display the variable: its total length, date/datetime/time format or how many decimal digits to show, adding the $ or % signs and other more customed formats defined by FORMAT -  PICTURE.

 

Kurt_Bremser
Super User

If you are talking about file formats:

  • anything in text, with more or less programming effort; includes XML
  • Excel workbooks
  • most available database systems through SAS/ACCESS modules
  • anything via ODBC

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 2 replies
  • 317 views
  • 0 likes
  • 3 in conversation