IBM Mainframe Discussion List <IBM-MAIN@BAMA.UA.EDU> wrote on 01/17/2007 03:01:21 PM: on behalf of Carol Srna <[EMAIL PROTECTED]>
> Hello All. > > How do I write the output of my SAS file to an external file? > > //S010 EXEC SAS > //RMMSUM DD DSN=PRMAS.RMM.MASTER,DISP=SHR > //MYOUTPUT DD DSN=CAS.SAS.OUTPUT,DISP=SHR > //SYSIN DD * > LIBNAME myoutput; > DATA RMMDTL; > sas code; > > PROC PRINTTO PRINT=MYOUTPUT; > Use the FILE statement to define the external DD and the PUT statement to write the data of your choosing. Regards, John ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html