Respuesta :

Now let's process the ASCII text file using the IMPORT and EXPORT procedures.

Must specify ASCII text file delimiter in DBMS options.

PROC IMPORT DATAFILE ="c:\sas\ego.csv" OUT=jeeshim.egov DBMS=CSV REPLACE;

GETNAMES=YES;

DATAROW = 2;

RUN

DATAFILE lets you import an external file.

Designates a SAS data file.

The DBMS specifies the type of external file. For example, "DBMS=DLM", "DBMS=CSV", and "DBMS=TAB".

REPLACE overwrites the existing file, if any.

GETNAMES reads the variable names from the first line of the data file.

The DATAROW option tells the row from which SAS reads the observations.

GETNAMES and DATAROW require a semicolon at the end.

This example exports the data set to an ASCII file by the specified range. DATA and OUTFILE respectively define the set of data to be output and the external file to which the data is output.

PROC export

DATA = jeeshim.egov

OUTFILE="c:\sas\ego.txt"

DBMS = DLM REPLACE;

RUN;

More problems related to a similar concept are solved in the link below.

https://brainly.com/question/17147612?referrer=searchResults

#SPJ4