![]() Just as easy as the macro you wrote above, even hardcoding the four dates. Now you call it: %import_files(date=20130805) Infile "home/abc/cle&date.txt" dlm= '|' dsd firstobs=1 obs=100 Then give it a reasonable name that really says what it does. In this case, it sounds like you need one parameter: the date, so 20130805 or whatnot. Instead, make the macro something that does precisely one file, but includes the information needed to call it easily. Either it will be a specific macro you only ever use once - in which case you could just write this by hand and save the time you've already spent - or it will be something you have to modify every single month or whatever that you use it. ![]() I don't recommend you try to write one macro to import all four files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |