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 / nandu

data test ;
infile "Path";
input var1 var2 var3 ;
file print 'path';
put @1 var1 @10 var2 ;
run;

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between informat and format with an example.

686


What are the limitations for memory allocation for SAS variables

931


what is slowly changing dimension? : Sas-di

626


What Proc glm does?

610


what are 5 ways to perform a table lookup in sas? : Sas-administrator

764






What is the differnce between SDTM 3.1.2 to 3.1.1 version

4609


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1167


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1161


How we can call macros with in data step? : sas-macro

616


What are the statements that are executed only?

674


how do you want missing values handled? : Sas programming

534


How is character variable converted into numeric variable and vice versa?

598


Mention the difference between ceil and floor functions in sas?

648


If a variable contains only numbers, can it be a character data type?

612


What is the difference between using drop = data set option in data statement and set statement?

638