Here is my code to import one file.
data many;
infile 'v:\pcsas_export_files\many\file_1.txt';
input Code $2. /
Acct $9. /
AcctName $30. //
ID $3. /
Reg $10. /
City $15.//;
run;
In the pcsas_export_files\many I have several text files (ie file_1, file_2, file_3). The data positioning is the same and I need to import all files at the same time. Is there a procedure (ie macro) that can handle this?
data many;
infile 'v:\pcsas_export_files\many\file_1.txt';
input Code $2. /
Acct $9. /
AcctName $30. //
ID $3. /
Reg $10. /
City $15.//;
run;
In the pcsas_export_files\many I have several text files (ie file_1, file_2, file_3). The data positioning is the same and I need to import all files at the same time. Is there a procedure (ie macro) that can handle this?