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 / 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 |
Post New Answer View All Answers
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
What is program data vector (pdv)?
what are several options for creating reports in web report studio? : Sas-bi
explain what is data set in sas? : Sas-administrator
how does sas handle missing values in a merge? : Sas programming
What is the role of unrestrictive users? : sas-grid-administration
How substr function works in sas?
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
what are input dataset and output dataset options? : Sas programming
how to generate the test data in sas without input data? : Sas-administrator
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
what is the basic structure sas administrator? : Sas-administrator
what is hierarchy flattening? : Sas-di
what are the considerations when picking a SAS/STAT procedure?