Previous Page | Next Page

Accessing VSAM Data Sets

Writing to an Empty VSAM File

To write to an empty VSAM file with a PUT statement, specify the VSAM option in a FILE statement:

filename out 'myid.newdata' disp=old;
data current;
   file out vsam;
   put ...;
   /* SAS statements */
run;

Previous Page | Next Page | Top of Page