This was quite useful before the ODS was introduced.
/**************************************************************/
/* SAS Programming Tips */
/* Author: Chunqin Deng */
/*Program File: reset.sas */
/* Date: June 25, 1999 */
/* Purpose: put the reset.sas file in the beginning of */
/* each program. It will balance the unbalanced */
/* quotation mark and set correct formchar for */
/* PC/Windows Format. Formchar option will */
/* prevent to create a string character when you */
/* paste the SAS output to other work */
/* editor software */
/**************************************************************/
*'; /* Balance the unbalanced single quotation mark */
*"; /* Balance the unbalanced double quotation mark */
run;
title; /* Delete the existing title definition */
footnote;
options nocenter;
options nomprint nomlogic nosymbolgen;
options notes nodate nonumber ls=195
ps=55 obs=max;
options formchar='|----|+|---+=|-/\*'; /* For PC/Windows Platform */
goptions reset=all;
=========================================
data try;
do i=1 to 2;
do j=1 to 2;
input x@@;
output;
end;
end;
datalines;
23 34 12 56
;
run;
proc freq;
tables i*j/chisq;
run;
No comments:
Post a Comment