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
What are common programming errors committed in sas
What will calendar procedure do?
Enlist the syntax rules followed in sas statements.
which date function advances a date, time or datetime value by a given interval? : Sas programming
What are the differences between sum function and using “+” operator?
If you could design your ideal job, what would it look like?
What is the basic syntax of a sas program?
What is the difference between reading data from an external file and reading data from an existing data set?
How we can create SAS USER DEFINED CODE?
how does sas handle missing values in sort order? : Sas programming
If money were no object, what would you like to do?
What is the use of divide function?
Explain by-group processing?
In proc transpose and data step with arrays which one you pick?
explain the use of % includes a statement in sas? : Sas-administrator