To read a VSAM file
with an INPUT statement, specify the VSAM option in an INFILE statement:
filename in1 'prod.payroll';
data mydata;
infile in1 vsam;
input ...;
/* SAS statements */
run;
Note: A VSAM file can be read
sequentially without your having to specify the VSAM option.