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?
Answers were Sorted based on User's Feedback
Answer / durga g
DATA step copies records from the input file to the output
file without creating any SAS variables:
data _null_;
infile file-specification-1;
file file-specification-2;
input;
put _infile_;
run;
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / ganesh
by writing Put _all_; is the easy option to produce an
external file.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / prakash hullathi
DATA step copies records from the input file to the output
file without creating any SAS variables:
data _null_;
/*To read the external taw data file*/
infile 'file-specification-1';
input var1 var2 $ var3;
/*To write the external raw data file*/
file 'file-specification-2';
put var1 var2 var3;
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Describe how you would pass data to macro.
What are the data types does SAS contain?
1.How many ways are there to create variables? 2.What is CLM,how can we use it? 3.what are the advontages of data step? 4.what is the extension of editor window in SAS 9.1.3? 5.How do you copy a particular data set from one library to another? 6.what is the use of double option? 7.Advontages of Proc Report? 8.what is the basic use of where statement? 9.How do you terminate the statments in SAS Programming? 10.What is the difference between symput and symget? 11.How would a identify the local and global variable? can any one answer for the 4'th question
What sas features do you use to check errors and data validation?
What is the purpose of using the N=PS option?
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
Describe crosslist option in tables statement?
How do you generate random samples?
What type of tables you are using in YOUR reporting..???
2 Answers GSK GlaxoSmithKline,
what is the formula to measure Baseline
How is character variable converted into numeric variable and vice versa?
for whom is sas data integration studio designed? : Sas-di