Generated IMPORT procedure code returns an "ERROR: The parameter value 0 is less than the minimum allowed value of 1"


In SAS® 9.4M9 (TS1M9), when you use the IMPORT WIZARD to read a delimited file, you have the option to save the PROC IMPORT code via the Import Wizard - Create SAS Statements (the fourth window). When you complete these steps, the .CSV file is read in correctly. However, when you open the SAS code that is saved from the Import Wizard - Create SAS Statements window, the following PROC IMPORT code is generated:

PROC IMPORT OUT= WORK.temp
DATAFILE= "C:\temp\classtest.csv"
DBMS=CSV REPLACE;
GETNAMES=YES;
DATAROW=2;
VARNAMEROW=0;
RUN;

The new statement, VARNAMEROW=0, added to the PROC IMPORT code is not valid in SAS 9.4M9.