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 / sas developer

DATA _NULL_; 
INFILE 'C:FILESINPUT.TXT' MISSOVER TRUNCOVER; 
INPUT BLOCK $100.; /* This is length of the record. Change to suit your file*/
FILE 'C:FILESOUTPUT.TXT';
PUT BLOCK;
RUN;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the five ways to do a table lookup in sas? : sas-grid-administration

858


What do you know about symput and symget?

984


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

945


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

882


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

819


Tell e how how dealt with..

2008


why is sas considered self-documenting? : Sas programming

902


Difference between informat and format?

884


How do dates work in sas?

899


Explain bmdp procedure?

836


describe about physical data integration? : Sas-di

814


Mention the category in which sas informats are placed?

829


Explain what is the use of proc gplot?

943


Difference between SAS STATA & SPSS?

899


Difference between sum function and using “+” operator?

890