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 / jothi sankar


PUT _ALL_;

Eg:

DATA
_NULL_;
SET MYDATA; --> is got from external input file
FILE OFILE<is having output file path>;

PUT _ALL_; --> is for writing values with variables

PUT (_ALL_) (+0); --> is for writing only values

RUN;


Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In sas, what are the areas that you are most interested in? : sas-grid-administration

635


What does PROC print, and PROC contents do?

722


What is the difference between INPUT and INFILE ?

753


How many ways to overcome a missing values???

2333


explain about various caches available in data integrator? : Sas-di

576






Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks

1794


How do you connect the desktop application to metadata server? : sas-grid-administration

580


What are the automatic variables for macro? : sas-macro

672


explain the main difference between the nodup and nodupkey options? : Sas-administrator

684


Explain the difference between informat and format with an example.

679


what is hash files in sas and why we are using this one in sas?

1724


what is sas business intelligence? : Sas-bi

584


How to specify variables to be processed by the freq procedure?

613


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

624


I need level 2 to 5 sas using companies in india

1926