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 are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
what do the pad and dim functions do? : Sas programming
Which function is used to count the number of intervals between two sas dates?
what is the primary data source for the wrs? : Sas-bi
What can you learn from the SAS log when debugging?
what are the categories that sas informats are used to the place the data? : Sas-administrator
what is hierarchy flattening? : Sas-di
Name some categories in sas 9? : sas-grid-administration
What is the difference between using drop = data set option in data statement and set statement?
Mention the category in which sas informats are placed?
What is the function of output statement in a SAS Program?
What are all the problems you faced while validating tables and reports?
: and & modifiers.
explain the difference between proc means and proc summary?