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 common programming errors committed in sas

674


What will calendar procedure do?

603


Enlist the syntax rules followed in sas statements.

619


which date function advances a date, time or datetime value by a given interval? : Sas programming

602


What are the differences between sum function and using “+” operator?

581






If you could design your ideal job, what would it look like?

2378


What is the basic syntax of a sas program?

671


What is the difference between reading data from an external file and reading data from an existing data set?

640


How we can create SAS USER DEFINED CODE?

1618


how does sas handle missing values in sort order? : Sas programming

537


If money were no object, what would you like to do?

2691


What is the use of divide function?

608


Explain by-group processing?

591


In proc transpose and data step with arrays which one you pick?

2576


explain the use of % includes a statement in sas? : Sas-administrator

553