DATA Step, Macro, Functions and more

input options

Accepted Solution Solved
Reply
Contributor rk7
Contributor
Posts: 28
Accepted Solution

input options

HI, can anyone post link of sas input options


Accepted Solutions
Solution
‎03-14-2018 11:47 AM
Super User
Posts: 23,247

Re: input options

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


All Replies
Solution
‎03-14-2018 11:47 AM
Super User
Posts: 23,247

Re: input options

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. 

Contributor rk7
Contributor
Posts: 28

Re: input options

* 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

PROC Star
Posts: 8,145

Re: input options

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

 

Contributor rk7
Contributor
Posts: 28

Re: input options

sure

PROC Star
Posts: 8,145

Re: input options

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

 

Super User
Posts: 13,297

Re: input options


@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 ...

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 132 views
  • 0 likes
  • 4 in conversation