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 (October 1996, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 9 Oct 1996 17:18:54 GMT
Reply-To:     Rdsdnen <rasanen@SPRYNET.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Rdsdnen <rasanen@SPRYNET.COM>
Organization: Sprynet News Service
Subject:      SAS-CGI -> macro runs partially

I have the following code defined in a module called balance.sas My question is, while the macro runs completely, it only sends to Netscape the data step, not the proc freq. Why might that be?

Go easy on me, I am a total novice with CGI.

%macro printit;

filename xx 'c:\httpd\htdocs\sas-process\prevday.txt'; data demo; infile xx; input @01 account $15. @18 balance 9.2; proc print data=demo noobs;

%if "&balance" ne "ALL" %then %do; where balance >= &balance ; %end;

PROC FORMAT;

VALUE NBFMT LOW-0 = ' LT 0 OR EQ 0 ' 0.01-4999.99 = '0.01 THRU 4999.99 ' 5000.00-9999.99 = '5000.00 THRU 9999.99 ' 10000.00-24999.99 = '10000.00 THRU 24999.99' 25000.00-49999.99 = '25000.00 THRU 49999.99' 50000.00-99999.99 = '50000.00 THRU 99999.99' 100000.00-HIGH = '100000.00 AND GT ' ;

PROC FREQ; TABLE EXPO / LIST; FORMAT BALANCE NBFMT.;

run;

%mend printit;

-- rasanen@sprynet.com http://home.sprynet.com/sprynet/rasanen/


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