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 is the basic structure of the SAS base program?
how do you want missing values handled? : Sas programming
Which statement does not perform automatic conversions in comparisons?
explain the function of substr in sas? : Sas-administrator
how to remove duplicates using proc sql?
What is the differnce between SDTM 3.1.2 to 3.1.1 version
State the difference between INFORMAT and FORMAT ?
What do the put and input function do?
for what purpose would you use the retain statement? : Sas programming
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
How to create list output for cross-tabulations in proc freq?
describe about physical data integration? : Sas-di
Enlist the functions performed by sas.
what is sas metadata repository? : Sas-bi
explain about sas business intelligence? : Sas-bi