Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL
Help

Chapter 10: Processing Macro Variables a... > Using Macro Variables in SCL Program... - Pg. 379

title "Status of Students in Course Code &crsid"; run; crsnum Course_number crsnum proc sql; create view subcnum as select student_name, student_company, paid from sasuser.all where course_number=input(symget('crsnum'),2.); quit; %let crsnum=4; proc print data=subcnum noobs; title "Status of Students in Course Number &crsnum"; run; Wage MAIN: erroroff wage; if wage gt &max then erroron wage; return; &name &name &&name