Program A1.2

/***********************************************************************************
* This program is taken from the following book. If using please cite it as:           *
* Emrouznejad, A. and W. Ho (2012). Applied Operations Research with SAS, *
* CRC Press: Taylor Francis Ltd, ISBN: 9781439841303.                                               *
* For details please visit: http://www.sas-or.com.                                                                *
************************************************************************************/


* Program A1.3: An example of PROC IMPORT;
* Import Data from a Tab-Delimited Text File;

proc import
datafile = ”c:/sasor/mydata.txt”
out = mydata
dbms = tab
replace;
getnames = yes;
run;


/****************************************************************************
******************************END of the program*****************************
****************************************************************************/

Permanent link to this article: http://sas-or.com/book/program-a1-2

Leave a Reply