Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



If reading an external file to produce an external file, what is the shortcut to write that record ..

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

If reading an external file to produce an external file, what is the shortcut to write that record ..

Answer / ganesh

by writing Put _all_; is the easy option to produce an
external file.

Is This Answer Correct ?    1 Yes 1 No

If reading an external file to produce an external file, what is the shortcut to write that record ..

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

If reading an external file to produce an external file, what is the shortcut to write that record ..

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

Post New Answer

More SAS Interview Questions

what is TAB delimiter? explain about it? what will you do to get TAB delimiter?

3 Answers   Cap Gemini,


What are the rows present in protocol Violation table?

2 Answers   Accenture, Quintiles,


How would you include common or reuse to be processed along with your statements?

0 Answers  


What techniques and/or PROCs do you use for tables?

4 Answers   Oracle,


I have a dataset with variables empid and doj how to calculate retirement age?

1 Answers  


What procedure you used to calculate p-value?

2 Answers   Accenture, Quintiles,


What is the difference between %put and symbolgen? : sas-macro

0 Answers  


How does the internal authentication work in sas? : sas-grid-administration

0 Answers  


Describe a time when you were really stuck on a problem and how you solved it?

1 Answers  


what versions of sas have you used (on which platforms)? : Sas programming

0 Answers  


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

0 Answers  


Name and describe three SAS functions that you have used, if any?

2 Answers  


Categories