Date: Fri, 11 Oct 1996 17:51:43 -0400
Reply-To: Roger Deangelis <deangel@HORIZSYS.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Roger Deangelis <deangel@HORIZSYS.COM>
Subject: utlopts/utlnopts Dubug and Production Options
These are the options I use for debug/production. The two macros form a =
pair,
you will need both. I did some cleanup, so the code is not fully tested.
Enclosed you will find macros utlopts/utlnopts.
Roger DeAngelis
PS I have not dolved the garbage problem yet ie =3D20 =3D3D etc
%MACRO UTLOPTS =
=
/ des =3D "Good set of options for debugging";
/*----------------------------------------------*\
| Good set of options for debugging |
| This macro should be used with macro utlnopts |
| |
| The macros are inverses of each other |
| |
| utlnopts turns utlopts settings off |
| utlopts turns utlnopts settings back on |
| |
\*----------------------------------------------*/
/*----------------------------------------------*\=0D
| |=0D
| Code by Roger DeAngelis |=0D
| |=0D
| Compucraft Inc |=0D
| 49 Spackenkill Rd |=0D
| Poughkeepsie, NY 12603 |=0D
| |=0D
| Office 914-463-2770 |=0D
| Fax 914-462-7595 |=0D
| |=0D
| Email deangel@horizsys.com |=0D
| xlr82sas@aol.com |=0D
| |=0D
| Users are free to do whatever they want |=0D
| with any or all of this code. |=0D
| |=0D
| Compucraft is not responsible for any |=0D
| problems associated with this code. |=0D
| |=0D
| Use at your own risk |=0D
| |=0D
\*----------------------------------------------*/=0D
OPTIONS
SOURCE /* turn sas source statements on =
=
*/
MACROGEN /* turn MACROGENERATON ON =
=
*/
SYMBOLGEN /* turn SYMBOLGENERATION ON =
=
*/
NOTES /* turn NOTES ON =
=
*/
NOOVP /* never overstike =
=
*/
CMDMAC /* turn CMDMAC command macros on =
=
*/
MEMSIZE=3D0 /* turn MEMSIZE=3D0 max memsize =
=
*/
ERRORS=3D2 /* turn ERRORS=3D2 max of two errors =
=
*/
SOURCE2 /* turn SOURCE2 show gererated source ( included =
source ) */
MLOGIC /* turn MLOGIC macro logic =
=
*/
MPRINT /* turn MPRINT macro statements =
=
*/
MRECALL /* turn MRECALL always recall =
=
*/
MERROR /* turn MERROR show macro errors =
=
*/
NOCENTER /* turn NOCENTER I do not like centering =
=
*/
DETAILS /* turn DETAILS show details in dir window =
=
*/
SERROR /* turn SERROR show unresolved macro refs =
=
*/ =0D
NONUMBER /* turn NONUMBER do not number pages =
=
*/
FULLSTIMER /* turn FULLSTIMER give me all space/time stats =
=
*/
NODATE /* turn NODATE suppress date =
=
*/
;
run; =0D
%MEND UTLOPTS; =
=
%macro utlnopts =
=
/ des =3D "Turn all debugging options off 4 prod";
/*----------------------------------------------*\
| |
| This macro should be used with macro utlnopts |
| |
| The macros are inverses of each other |
| |
| utlnopts turns utlopts settings off |
| utlopts turns utlnopts settings back on |
| |
\*----------------------------------------------*/
/*----------------------------------------------*\=0D
| |=0D
| Code by Roger DeAngelis |=0D
| |=0D
| Compucraft Inc |=0D
| 49 Spackenkill Rd |=0D
| Poughkeepsie, NY 12603 |=0D
| |=0D
| Office 914-463-2770 |=0D
| Fax 914-462-7595 |=0D
| |=0D
| Email deangel@horizsys.com |=0D
| xlr82sas@aol.com |=0D
| |=0D
| Users are free to do whatever they want |=0D
| with any or all of this code. |=0D
| |=0D
| Compucraft is not responsible for any |=0D
| problems associated with this code. |=0D
| |=0D
| Use at your own risk |=0D
| |=0D
\*----------------------------------------------*/=0D
OPTIONS
NOSOURCE /* turn sas source statements off */
NOMACROGEN /* turn MACROGENERATON off */
NOSYMBOLGEN /* turn SYMBOLGENERATION off */
NONOTES /* turn NOTES off */
NOOVP /* never overstike */
NOCMDMAC /* turn CMDMAC command macros on =0D =
*/ =0D
NOSOURCE2 /* turn SOURCE2 show gererated source off */
NOMLOGIC /* turn MLOGIC macro logic off */
NOMPRINT /* turn MPRINT macro statements off */ =
=
NOCENTER /* turn NOCENTER I do not like centering */
NOMTRACE /* turn MTRACE macro tracing */ =
=
NOSERROR /* turn SERROR show unresolved macro refs */
NOMERROR /* turn MERROR show macro errors */
OBS=3DMAX /* turn max obs on =
*/
NOFULLSTIMER /* turn FULLSTIMER give me all space/time stats */
NODATE /* turn NODATE suppress date */
/* NO$SYNTAXCHECK be careful with this one */
; =0D
RUN;
%MEND UTLNOPTS; =
=