LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 18 Jun 2002 15:28:31 +0100
Reply-To:     Phil Mason <phil@WOODSTREET.ORG.UK>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Phil Mason <phil@WOODSTREET.ORG.UK>
Subject:      Re: What is the option to pipe out a macro generated program to a
              file? Thanks!
Comments: To: "Brucken, Nancy" <Nancy.Brucken@PFIZER.COM>
In-Reply-To:  <FA8A19B03AFEA5408648BB1C1215B5ED03074C7C@anagrdexm05.research.aa.wl.com>
Content-Type: text/plain; charset="iso-8859-1"

v8 -- filename mprint 'c:\myfile.sas' ; options mprint mfile ;

v6 -- filename mprint 'c:\myfile.sas' ; options mprint $reservedb1 ; * I think? ;

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU]On Behalf Of Brucken, Nancy Sent: 18 June 2002 15:13 To: SAS-L@LISTSERV.UGA.EDU Subject: Re: What is the option to pipe out a macro generated program to a file? Thanks!

Hi Shiling, I think it's MFILE. From the online docs:

Syntax MFILE | NOMFILE

Syntax Description

MFILE routes the MPRINT output to an external file. Restriction: The MPRINT option must be in effect to use MFILE.

NOMFILE does not route the MPRINT output to an external file.

---------------------------------------------------------------------------- ----

Details

MFILE is useful for debugging. Macro-generated code that is displayed by the MPRINT option in the SAS log during macro execution is written to the external file that is referenced by the fileref MPRINT. If there is no MPRINT fileref, a warning message is issued and no file is written (MFILE is turned off).

Hope this helps, Nancy

Nancy Brucken Development Informatics Pfizer Global Research & Development, Ann Arbor (734) 622-5767 E-mail address: Nancy.Brucken@pfizer.com

-----Original Message----- From: shiling zhang [mailto:shiling99@YAHOO.COM] Sent: Monday, June 17, 2002 10:47 PM To: SAS-L@LISTSERV.UGA.EDU Subject: What is the option to pipe out a macro generated program to a file? Thanks!

EOM


Back to: Top of message | Previous page | Main SAS-L page