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 (November 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 18 Nov 2004 10:09:22 +0000
Reply-To:     Saqi <saqi2000@gmail.com>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Saqi <saqi2000@GMAIL.COM>
Subject:      LIKE statement as a regular SAS expression???
Content-Type: text/plain; charset=US-ASCII

I am generating an HTML table using put statement. I would like to output the link only where prod_code is like C for everything else I don't want to put the link out.

If prod_code like 'C%' then do; put @134 '<TD WIDTH="235" ALIGN="CENTER"><FONT FACE="Arial" SIZE="2"> <A HREF='my_link' TARGET="_top">Click Here</A></FONT></TD>'; end;

but it is complaining about like. Like can only be used with where statement. Can you please put me in the right direction??

Regards

Jan


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