![]() |
![]() |
Accessing VSAM Data Sets |
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.
![]() |
![]() |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.