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
Give an example where SAS fails to convert character value to numeric value automatically?
How to convert a numeric variable to a character variable?
For clinical entire study how many tables will create approx?
Describe 5 ways to do a “table lookup” in SAS?
Explain why double trailing @@ is used in input statement?
what is the difference between floor and ceil functions in sas? : Sas-administrator
In sas, what are the areas that you are most interested in? : sas-grid-administration
what is snowflake schema? : Sas-di
What is the basic syntax style in SAS?
Approximately what date is represented by the SAS date value of 730?
Give some examples where proc report’s defaults are different than proc print’s defaults?
What does PROC print, and PROC contents do?
Tell me more about the parameters in macro? : sas-macro
What is the sas data set? : sas-grid-administration
Explain data step in SAS