Answer Posted / natraj
In data step and Proc step you can use the data set options
such as KEEP= / DROP= .
ex: data xxx (keep=a); or data xxx ( drop= b c);
run;
proc print data=xxx (keep=a) or ( drop= b c);
run;
you can use the VAR STATEMENT in PRINT PROCEDURE to list
the desired varibles;
ex: proc print data= xxx;
var a ; /* put your desired variables */
run;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
What system options would you use to help debug a macro? : sas-macro
Explain the difference between nodup and nodupkey options?
what is sas metadata repository? : Sas-bi
What commands are used in the case of including or excluding any specific variables in the data set?
Explain bmdp procedure?
explain what is factor analysis? : Sas-administrator
Can you execute a macro within a macro? Describe. : sas-macro
Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
How do dates work in sas?
how do the in= variables improve the capability of a merge? : Sas programming
how could you generate test data with no input data? : Sas programming
Do you need to rearrange the order of the data for the report?
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration