I ma importing numerous files into a new database and the import from command line requires a templatefile. Apparently, the only way to use the templatefile is to hard code the mappings from the source file to the destination table, even when the variable names in the source file match the table. The problem I am having is that the source file variables move around a little bit from file to file and from year to year, but the names are always the same.
How can I import files so that inputfile variables are automatically matched to the destination table variables?