BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
rk7
Obsidian | Level 7 rk7
Obsidian | Level 7

HI, can anyone post link of sas input options

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

Input function or input statement?

And it varies...

 

Also, it's in the documentation.

 

Assuming the INPUT statement, see the link below:

 

 

http://documentation.sas.com/?docsetId=lestmtsref&docsetTarget=n0oaql83drile0n141pdacojq97s.htm&docs...

 

Make sure to check the bottom, where it has See Also section. There's several other entries depending on how you're using the INPUT statement. 

View solution in original post

6 REPLIES 6
Reeza
Super User

Input function or input statement?

And it varies...

 

Also, it's in the documentation.

 

Assuming the INPUT statement, see the link below:

 

 

http://documentation.sas.com/?docsetId=lestmtsref&docsetTarget=n0oaql83drile0n141pdacojq97s.htm&docs...

 

Make sure to check the bottom, where it has See Also section. There's several other entries depending on how you're using the INPUT statement. 

rk7
Obsidian | Level 7 rk7
Obsidian | Level 7

* Using appropriate input option and create a SAS data set named 'EXAMPLE95' using the following data

00134168                          1
00245155                          1
003             23     220        2
00467180                          1
005             35    190         2

* Output is like this
Obs TYPE ID AGE WEIGHT
1       1       1    34        168
2       1       2    45        155
3       2       3    23         220
4       1       4    67        180
5       2       5    35        190

art297
Opal | Level 21

You've already marked this thread as solved. If you want an answer to your question, post it as a new thread.

 

rk7
Obsidian | Level 7 rk7
Obsidian | Level 7

sure

art297
Opal | Level 21

You have to be more specific. Are you asking about the input statement, the data statement, the infile statement, the set statement, or something else?

 

Art, CEO, AnalystFinder.com

 

ballardw
Super User

@art297 wrote:

You have to be more specific. Are you asking about the input statement, the data statement, the infile statement, the set statement, or something else?

 

Art, CEO, AnalystFinder.com

 


Or direct manual data entry into a table; how to import data from external data files; capture streams of instrument data ...

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 6 replies
  • 988 views
  • 0 likes
  • 4 in conversation