GETNAMES= Data Set Option

specifies to read variable names from the first line in the CSV file.

Applies to: Reading CSV files

Syntax

GETNAMES= YES | NO

Details

Specify GETNAMES=YES if the first line of a CSV file contains the variable names for the file. Alternatively, you can specify the variable names in the COLUMNS=data set option, or you can use the default names that are provided by the SAS Data in HDFS engine.