Accessing VSAM Data Sets |
To update a VSAM data set, include an INFILE statement and a FILE statement that point to the same fileref, and specify the VSAM type option in the DATA step:
filename mydata 'myid.newdata' disp=old; data newdata; file mydata vsam; infile mydata vsam; /* SAS statements */ run;
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.