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

Explain why double trailing @@ is used in input statement?

822


: and & modifiers.

1126


where are dashboard components are created and maintained? : Sas-bi

805


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

940


Which command is used to save logs in the external file?

823


what is broad cast agent? : Sas-bi

833


what is sas database server? : Sas-di

829


What are the difference between the sas data step and sas procs?

855


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

845


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1182


describe about physical data integration? : Sas-di

788


how to generate the test data in sas without input data? : Sas-administrator

832


is data integration and etl programming is same? : Sas-di

818


What are the default statistics for means procedure?

904


List out some key concept of SAS

835