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

What is the purpose of trailing @ and @@? How do you use them?

823


What are types of transport files?

7448


How to test the debugging in sas?

893


how many types prompting framework can be broken down to? : Sas-bi

872


how can you put a "trace" in your program? : Sas programming

837


Mention sas system options to debug sas macros.

952


What areas of SAS are you most interested in?

1291


What is the role of administrative users? : sas-grid-administration

895


describe the interaction table in sas di? : Sas-di

814


describe how to adjust the performance of data integrator? : Sas-di

793


For clinical entire study how many tables will create approx?

1753


How are numeric and character missing values represented internally?

1411


How do you debug and test your SAS programs?

1309


Describe 5 ways to do a “table lookup” in SAS?

902


What are the default statistics that proc means produce?

819