| Date: | Tue, 16 Dec 2008 19:09:33 -0200 |
| Reply-To: | Paulo Rodrigo <rodrigo_paulo@YAHOO.COM.BR> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Paulo Rodrigo <rodrigo_paulo@YAHOO.COM.BR> |
| Subject: | Re: Enforcing good practices (e.g. variable declaration)? |
| In-Reply-To: | <482249F865060740AE33815802042D2F02C46E63@LTA3VS012.ees.hhs.gov> |
| Content-Type: | text/plain; charset=ISO-8859-1 |
Will not show much info because this is a internal (undocumented) feature,
there is some other info on support.sas.com regards other options and
explicit stating that should be used with SAS 8 ;) .
Try this:
Proc Options define value option = dsoptions internal;run;
or this
Proc Options option = internal;run;
--
Att: Paulo R. Herculano
SAS Consultant
+55-11-9226 6618
Skål Thunar!!
On Tue, Dec 16, 2008 at 6:50 PM, Fehd, Ronald J. (CDC/CCHIS/NCPHI) <
rjf2@cdc.gov> wrote:
> > From: Marc Weinmann
> > Subject: Enforcing good practices (e.g. variable declaration)?
> >
> > Hi All - I have a simple question I've never seen answered for SAS.
> > Many programming languages have options to force strict variable
> > declaration and flag accidental type-o's more quickly, such as a
> > variable used in only one spot of a program. In VB you have "Option
> > Explicit" or in perl there is "use strict" or "use warnings". Are
> > there any comparable options for SAS programs?
> >
> > Thanks
> > Marc
>
> SAS is a loosely-typed language
> so I don't think you will find good consistent messages
> as you expect from strongly-typed languages.
>
> this is why we can submit programs with char-to-numeric
> and num-to-character conversions
> and still get results.
>
> check the group of the option mentined previously:
>
> Proc Options define value option = dsoptions;
>
> Proc Options group = ???;
>
> and see what other options are related
>
> see also:
> options msglevel = I;
>
> Ron Fehd the options maven CDC Atlanta GA USA RJF2 at cdc dot gov
>
|