DATA _NULL_; /* Write this as is- "_NULL_" is a SAS keyword */ /* for an unnamed dataset */ FILE 'c:\Temp\bank.out' NOPRINT NOTITLES; /* You supply the filename - notice no SAS LIBNAME is used.*/ SET sasclass.bankdata ; PUT gender salary jobcat; /* List variables you to export in the PUT statement*/ /* Can use any FORMAT statements, as in an INPUT statement */ RUN ;