f



SAS TIP: Using Noprint and Ods output together? Doesn't work!

        Have ever used the ODS OUTPUT statement to put output into a SAS
dataset and then used the noprint option so that the output does not print
in the output window?  If so, then you know that this does not work.  The
SAS dataset is empty!

        The noprint option prevents output from going to any ODS
destination, so you cannot use it.  However, if you do not want your output
to print in the output window, then there is an alternative.

        ODS Listing Close;

        This statement prevents any output from showing in the output
window, but still allows the ODS OUTPUT statement to store the results in
the SAS dataset.

        Note:  The above statement prevents ALL output from going to the
output window until you turn the listing back on.  Here's how to turn it
back on:

        ODS Listing;


        Enjoy!
        Wendi






**************************************************************************
This e-mail and any files transmitted with it may contain privileged or
confidential information. It is solely for use by the individual for whom
it is intended, even if addressed incorrectly. If you received this e-mail
in error, please notify the sender; do not disclose, copy, distribute, or
take any action in reliance on the contents of this information; and delete
it from your system. Any other use of this e-mail is prohibited. Thank you
for your compliance.
0
wwright (29)
5/10/2005 2:58:18 PM
comp.soft-sys.sas 142828 articles. 3 followers. Post Follow

0 Replies
677 Views

Similar Articles

[PageSpeed] 30

Reply:

Similar Artilces:

SAS Intrnet
Hi, all. Our installation of the SAS App Server doesn't start automatically when the systm reboots. It is set to start automatically, but doesn't. Any ideas? Anywhere to look? Michael Luevane Systems Analyst Quantec, LLC 6229 SE Milwaukie Ave Portland, OR 97202 http://www.quantecllc.com Michael Luevane wrote: > Hi, all. > > Our installation of the SAS App Server doesn't start automatically > when the systm reboots. It is set to start automatically, but doesn't. > > Any ideas? Anywhere to look? > Event Viewer is a good place to start. Also look for *.lo...

when SAS in IT, isn't SAS Institute's
on the subject of "things sas that aren't SAS Institute's" I spotted this on jobserve UK, when seeking "SAS" C++ and VC++ Software Engineer Security Experienced C++ and VC++ Software Engineer who has specific experience of the windows Secure Attention Sequence (SAS) Now is that microsoft technology purporting to be SAS ? I wonder whose lawyers are going to decide who owns SAS as an abbreviation in the IT field ? Peter Crawford ...

pgsql: Don't use LC_MESSAGES value on WIN32, since it doesn't work.
Log Message: ----------- Don't use LC_MESSAGES value on WIN32, since it doesn't work. Magnus Hagander Modified Files: -------------- pgsql/src/bin/initdb: initdb.c (r1.63 -> r1.64) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c.diff?r1=1.63&r2=1.64) ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend ...

Send email from SAS macro
Hello, all. I have an issue that I'm trying to resolve. I have code that is called as a macro that sends an email. Well, it's *supposed* to send an email, anyway. Here's the code snippet that is suppsoed to do it... %macro email_the_report; %global email_report; %if %length(&email_report) ne 0 and %length(&hasObs) ne 0 %then %do; filename _sendit_ email ("&email") subject = "Expenditures Report %sysfunc(datetime(), dateampm18.)" attach = ("&repor...

SAS xport to R: doesn't work, at least in Open VMS
Hi, everybody, I am a "long time SAS user" not an R user. I have got a task to transfer to R some SAS datatsets. Forst I started to pilot xport files created by SAS. However, for some unknown reason, R doesn't recognize the xport format created by SAS in Open VMS saying > test1= read.xport( "NEW_DSIN.XPT") Error in lookup.xport(file) : file not in SAS transfer format I have created these files using several ways. 1. libname xpt xport "NEW_DSIN.xpt"; Libname d "< >"; Proc copy in=d out=xpt memtype=data; select new_dsin;...

Re: SAS xport to R: doesn't work, at least in Open VMS
Vlad, Only solution 1 provide an xport file the second one produce a cport file which is absolutely different and is only readable by another sas version or a specialised package like Stattranfer ;: Stattranfer has in v9 addes a conversion possibility from sas table to R. Another remark: I will never place endsas; before a run; statement Are you sure your log was correct and has you seen it before automatic closing? Perhaps are your files incomplete? Now , for my workplace and help function,i just start overviewing the import and export for from R: what i can say is that R has to have some ...

SAS 9.1.2: index in system help doesn't work
hi all, i have just installed SAS version 9.1.2. but the index in the menu = help/sas-help and ducumentation/index isn't loaded. what can i do? thank you, stefan. ...

SAS(9.2) export to SPSS by proc export doesn't work
I am generating set of analysis files -SAS data sets *.sas7bdat . After that I wont to export all of them to SPSS format *.sav. I can generate code using proc export to do this one by one. BUT! Code doesn't work. While if I do manually (save as) the result is as expected. More specifically: after running code with proc export I am getting message in LOG, that files has been created successfully. However, when I open it with PASW , the dialog box is coming first like if I am exporting csv data. Any idea? On Oct 5, 11:19=A0am, Felix <fstalmat...@yahoo.com> wrote: > I ...

Re: SAS xport to R: doesn't work, at least in Open VMS #3
In my own experience #3 is the most reliable. Either export the sas file to ..csv or .dbf and then use read.table option (also try the package "foreign" for read.dbf). if you have csv, make sure you specify whether the data are separated by "," or space " " , whether header=T or not etc. K. On Wed, 27 Jun 2007 07:34:14 -0400, Peter Flom <peterflomconsulting@MINDSPRING.COM> wrote: >>> Hi, everybody, >>> I am a "long time SAS user" not an R user. I have got a task to >>> transfer to R some SAS datatsets. Forst I start...

Re: SAS xport to R: doesn't work, at least in Open VMS #4
i just like to use a lightweight db to bridge sas and r, such as a mdb or sqlite. and it works pretty well. i think it is much better than conversion to csv, since the data attributes will be preserved. On 6/27/07, Vlad <vladislav.moltchanov@ktl.fi> wrote: > Hi, everybody, > I am a "long time SAS user" not an R user. I have got a task to > transfer to R some SAS datatsets. Forst I started to pilot xport files > created by SAS. However, for some unknown reason, R doesn't recognize > the xport format created by SAS in Open VMS saying > > > test1= ...

USING 'DBLIBINIT' SAS Libname Option for SAS Access for Oracle
Hi all, We are trying to use this option to pass user context information to the database for Fine Grain Access Control. We were able to pass a simple insert statement through this method that inserts a number in table as: DBLIBINIT='Insert into Y values (3)' This works also: DBLIBINIT='BEGIN epi.ins_num(3); END;' We were not able to pass an insert that uses a character value like: DBLIBINIT='Insert into Y values ('A')' DBLIBINIT='BEGIN epi.ins_char('A'); END;' It doesn't seem to matter how we quote the value. Our actual requirement ...

Re: SAS xport to R: doesn't work, at least in Open VMS #2
>> Hi, everybody, >> I am a "long time SAS user" not an R user. I have got a task to >> transfer to R some SAS datatsets. Forst I started to pilot xport files >> created by SAS. However, for some unknown reason, R doesn't recognize >> the xport format created by SAS in Open VMS saying >> >> > test1= read.xport( "NEW_DSIN.XPT") >> Error in lookup.xport(file) : file not in SAS transfer format >> >> I have created these files using several ways. >> 1. >> >> libname xpt xport "NEW_D...

Re: USING 'DBLIBINIT' SAS Libname Option for SAS Access for Oracle
You've probably already tried this, but how about DBLIBINIT= "BEGIN epi.epi_clearance ('STD','20083','SE'); END;" where at the beginning and end of the string you have double quotation marks. SAS allows either single or double quotes in most contexts, although they are not totally interchangeable. HTH! Mike Rhoads Westat RhoadsM1@Westat.com -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Sri Sent: Monday, May 16, 2005 3:12 PM To: SAS-L@LISTSERV.UGA.EDU Subject: USING 'DBLIBINIT' SAS Libname Opti...

FAQ 5.33 Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work?
This message is one of several periodic postings to comp.lang.perl.misc intended to make it easier for perl programmers to find answers to common questions. The core of this message represents an excerpt from the documentation provided with Perl. -------------------------------------------------------------------- 5.33: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? Whoops! You just put a tab and a formfeed into that filename! Remember that within double quoted strings ("like\this"), the backslash is an escape charact...

FAQ 5.34 Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work?
This message is one of several periodic postings to comp.lang.perl.misc intended to make it easier for perl programmers to find answers to common questions. The core of this message represents an excerpt from the documentation provided with Perl. -------------------------------------------------------------------- 5.34: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? Whoops! You just put a tab and a formfeed into that filename! Remember that within double quoted strings ("like\this"), the backslash is an escape charact...

FAQ 5.33: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work?
This message is one of several periodic postings to comp.lang.perl.misc intended to make it easier for perl programmers to find answers to common questions. The core of this message represents an excerpt from the documentation provided with Perl. -------------------------------------------------------------------- 5.33: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? Whoops! You just put a tab and a formfeed into that filename! Remember that within double quoted strings ("like\this"), the backslash is an escape charact...

FAQ 5.35 Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work?
This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 5.35: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? Whoops! You just put a tab and a formfeed into that filename! Remember that within double quoted st...

FAQ 5.35 Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? #9
This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 5.35: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? Whoops! You just put a tab and a formfeed into that filename! Remember that within double quoted strings (&quo...

FAQ 5.34 Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? #7
This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 5.34: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? Whoops! You just put a tab and a formfeed into that filename! Remember that within double quoted strings (&quo...

FAQ 5.34 Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? #6
This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 5.34: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? Whoops! You just put a tab and a formfeed into that filename! Remember that within double quoted strings ("like\this"), the backslash is an escape character. The full list of these is in "Quote and Quote-like Operators" in perlop. Unsurprisingly, you don't have a file called "c:(tab)emp(formfeed)oo" or "c:(tab)emp(formfeed)oo.exe" on your legacy DOS filesystem. Either single-quote your strings, or (preferably) use forward slashes. Since all DOS and Windows versions since something like MS-DOS 2.0 or so have treated "/" and "\" the same in a path, you might as well use the one that doesn't clash with Perl--or the POSIX shell, ANSI C and C++, awk, Tcl, Java, or Python, just to mention a few. POSIX paths are more portable, too. -------------------------------------------------------------------- The perlfaq-workers, a group of volunteers, maintain the perlfaq. They are not necessarily ex...

FAQ 5.35 Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? #10
This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 5.35: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? Whoops! You just put a tab and a formfeed into that filename! Remember that within double quoted strings (&quo...

FAQ 5.36 Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? 297624
This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 5.36: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? Whoops! You just put a tab and a formfeed into that filename! Remember that within double quoted st...

FAQ 5.35 Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? #8
This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 5.35: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? Whoops! You just put a tab and a formfeed into that filename! Remember that within double quoted strings (&quo...

FAQ 5.36 Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? 466732
This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 5.36: Why can't I use "C:\temp\foo" in DOS paths? Why doesn't `C:\temp\foo.exe` work? Whoops! You just put a tab and a formfeed into that filename! Remember that within double quoted st...

Web resources about - SAS TIP: Using Noprint and Ods output together? Doesn't work! - comp.soft-sys.sas

Resources last updated: 3/1/2016 1:29:40 AM