If reading an external file to produce an external file,
what is the shortcut to write that record without coding
every single variable on the record?
Answer Posted / jothi sankar
PUT _ALL_;
Eg:
DATA
_NULL_;
SET MYDATA; --> is got from external input file
FILE OFILE<is having output file path>;
PUT _ALL_; --> is for writing values with variables
PUT (_ALL_) (+0); --> is for writing only values
RUN;
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the maximum and minimum length of macro variable
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
How would you identify a macro variable?
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
What is the difference between INPUT and INFILE ?
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
Are you involved in writing the inferential analysis plan? Tables specifications?
why a stop statement is needed for the point= option on a set statement?
What do the SAS log messages "numeric values have been converted to character" mean?
How to specify variables to be processed by the freq procedure?
Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks
What is the difference between match merge and one to one merge?
What can you learn from the SAS log when debugging?
Name few SAS functions?
How long can a macro variable be? A token? : sas-macro